Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00237/0.00237, allocations: 91.92 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002621/0.002621, allocations: 149.1 kB / 24.26 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 173.3 MB / 200.8 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.274e-05, allocations: 2.312 kB / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002569/0.002592, allocations: 1.355 MB / 268.7 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2856/0.2882, allocations: 141.4 MB / 410.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.2883, allocations: 0 / 410.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.2883, allocations: 7.922 kB / 410.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009432/0.2892, allocations: 235.1 kB / 410.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.2903, allocations: 428 kB / 410.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2905, allocations: 59.64 kB / 410.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.2905, allocations: 4 kB / 410.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.2906, allocations: 35.95 kB / 410.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.2907, allocations: 27.91 kB / 410.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2907, allocations: 0 / 410.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.2919, allocations: 0.5612 MB / 411.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2919, allocations: 11.92 kB / 411.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.2919, allocations: 19.94 kB / 411.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009625/0.2929, allocations: 0.526 MB / 412 MB, free: 8.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2929, allocations: 0 / 412 MB, free: 8.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2929, allocations: 0 / 412 MB, free: 8.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2929, allocations: 4 kB / 412 MB, free: 8.703 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006492/0.2936, allocations: 451.4 kB / 412.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2936, allocations: 8.922 kB / 412.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.2947, allocations: 96.75 kB / 412.5 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.295, allocations: 216.4 kB / 412.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2951, allocations: 1.25 kB / 412.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.2951, allocations: 7.938 kB / 412.8 MB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.2954, allocations: 96.98 kB / 412.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2954, allocations: 4 kB / 412.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2955, allocations: 0.75 kB / 412.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2955, allocations: 0 / 412.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.2956, allocations: 51.89 kB / 412.9 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.2959, allocations: 164.8 kB / 413.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.2964, allocations: 142 kB / 413.2 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2966, allocations: 43.41 kB / 413.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/0.2968, allocations: 101.5 kB / 413.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.2969, allocations: 37.33 kB / 413.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2969, allocations: 4 kB / 413.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005208/0.2974, allocations: 141.5 kB / 413.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.2974, allocations: 77.11 kB / 413.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.2977, allocations: 233.8 kB / 413.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2978, allocations: 25.7 kB / 413.9 MB, free: 6.637 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.2978, allocations: 126.9 kB / 414 MB, free: 6.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.2979, allocations: 23.84 kB / 414 MB, free: 6.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.298, allocations: 39.34 kB / 414 MB, free: 6.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002683/0.2982, allocations: 0.4884 MB / 414.5 MB, free: 5.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.2983, allocations: 27.97 kB / 414.6 MB, free: 5.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2985, allocations: 65.98 kB / 414.6 MB, free: 5.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.2987, allocations: 99.08 kB / 414.7 MB, free: 5.719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2987, allocations: 0 / 414.7 MB, free: 5.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003823/0.2991, allocations: 141.4 kB / 414.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2991, allocations: 4 kB / 414.9 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2991, allocations: 0 / 414.9 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2991, allocations: 4 kB / 414.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.2993, allocations: 19.97 kB / 414.9 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.2993, allocations: 4 kB / 414.9 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.2994, allocations: 15.98 kB / 414.9 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.2995, allocations: 8 kB / 414.9 MB, free: 5.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.2996, allocations: 160.5 kB / 415.1 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.2997, allocations: 15.88 kB / 415.1 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.3002, allocations: 187 kB / 415.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.3002, allocations: 0 / 415.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3002, allocations: 0 / 415.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3002, allocations: 11.98 kB / 415.3 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3004, allocations: 138.1 kB / 415.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3004, allocations: 0 / 415.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.3006, allocations: 23.97 kB / 415.4 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3006, allocations: 4 kB / 415.4 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.3006, allocations: 3.938 kB / 415.5 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3006, allocations: 3.938 kB / 415.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3006, allocations: 0 / 415.5 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.3011, allocations: 189.7 kB / 415.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3012, allocations: 47.81 kB / 415.7 MB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.3012, allocations: 7.938 kB / 415.7 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3014, allocations: 15.89 kB / 415.7 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.3015, allocations: 7.984 kB / 415.7 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3015, allocations: 8 kB / 415.7 MB, free: 4.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.3017, allocations: 187.1 kB / 415.9 MB, free: 4.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3017, allocations: 0 / 415.9 MB, free: 4.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005288/0.3022, allocations: 131.6 kB / 416 MB, free: 4.328 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008812/0.3031, allocations: 343.4 kB / 416.4 MB, free: 4.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.3034, allocations: 79.58 kB / 416.5 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3034, allocations: 0 / 416.5 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3035, allocations: 51.59 kB / 416.5 MB, free: 3.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3038, allocations: 31.95 kB / 416.5 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.3044, allocations: 264.6 kB / 416.8 MB, free: 3.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.765e-05/0.3045, allocations: 75.34 kB / 416.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006612/0.3051, allocations: 435.1 kB / 417.3 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.3053, allocations: 40.45 kB / 417.3 MB, free: 3 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3053, allocations: 0 / 417.3 MB, free: 3 MB / 362.7 MB Notification: Performance of Templates: time 0.01178/0.3171, allocations: 5.636 MB / 423 MB, free: 13.38 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.905306956032291]