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.00142/0.00142, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001458/0.001458, allocations: 184.1 kB / 23.71 MB, free: 4.695 MB / 14.72 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.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 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 0.001521/0.001521, allocations: 43.92 kB / 370.9 MB, free: 9.324 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.00238/0.2415, allocations: 1.378 MB / 424.5 MB, free: 13.27 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.5217/0.7632, allocations: 149.2 MB / 0.5602 GB, free: 15.58 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.7633, allocations: 0 / 0.5602 GB, free: 15.58 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.7633, allocations: 4.781 kB / 0.5602 GB, free: 15.58 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001164/0.7645, allocations: 239.1 kB / 0.5605 GB, free: 15.58 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.766, allocations: 409.2 kB / 0.5609 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000115/0.7661, allocations: 60.56 kB / 0.5609 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.7661, allocations: 4.656 kB / 0.5609 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.596e-05/0.7662, allocations: 26.22 kB / 0.561 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.7663, allocations: 27 kB / 0.561 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.7663, allocations: 3 kB / 0.561 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.768, allocations: 0.6994 MB / 0.5617 GB, free: 15.55 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.7681, allocations: 11.61 kB / 0.5617 GB, free: 15.55 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.7681, allocations: 25 kB / 0.5617 GB, free: 15.55 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001137/0.7692, allocations: 492 kB / 0.5622 GB, free: 15.53 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7692, allocations: 1.812 kB / 0.5622 GB, free: 15.53 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.7692, allocations: 4 kB / 0.5622 GB, free: 15.53 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 5.56e-06/0.7693, allocations: 0 / 0.5622 GB, free: 15.53 MB / 462.1 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.0007216/0.77, allocations: 356.5 kB / 0.5625 GB, free: 15.22 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.77, allocations: 10.22 kB / 0.5625 GB, free: 15.22 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.7712, allocations: 96.08 kB / 0.5626 GB, free: 15.21 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.7715, allocations: 165.6 kB / 0.5628 GB, free: 15.08 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7715, allocations: 4.453 kB / 0.5628 GB, free: 15.08 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.7716, allocations: 2.75 kB / 0.5628 GB, free: 15.08 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.7718, allocations: 92.34 kB / 0.5629 GB, free: 15.03 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7718, allocations: 0.9375 kB / 0.5629 GB, free: 15.03 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.7718, allocations: 0 / 0.5629 GB, free: 15.03 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7718, allocations: 2.625 kB / 0.5629 GB, free: 15.03 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.772, allocations: 51.56 kB / 0.5629 GB, free: 15.02 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.7722, allocations: 177.3 kB / 0.5631 GB, free: 14.86 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.7727, allocations: 119.4 kB / 0.5632 GB, free: 14.81 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.7728, allocations: 40.23 kB / 0.5632 GB, free: 14.79 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.773, allocations: 94.88 kB / 0.5633 GB, free: 14.79 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.7731, allocations: 36.53 kB / 0.5634 GB, free: 14.75 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.7731, allocations: 0 / 0.5634 GB, free: 14.75 MB / 462.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0005002/0.7736, allocations: 141 kB / 0.5635 GB, free: 14.71 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.7736, allocations: 81.8 kB / 0.5636 GB, free: 14.61 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.7739, allocations: 154.4 kB / 0.5637 GB, free: 14.51 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.7739, allocations: 28.86 kB / 0.5638 GB, free: 14.48 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.7739, allocations: 87.95 kB / 0.5638 GB, free: 14.39 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.774, allocations: 23.16 kB / 0.5639 GB, free: 14.38 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.774, allocations: 34.62 kB / 0.5639 GB, free: 14.36 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001496/0.7742, allocations: 324 kB / 0.5642 GB, free: 14.05 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.7743, allocations: 24.45 kB / 0.5642 GB, free: 14.05 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.7744, allocations: 55.66 kB / 0.5643 GB, free: 14.01 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.7746, allocations: 86.55 kB / 0.5644 GB, free: 13.98 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7746, allocations: 0 / 0.5644 GB, free: 13.98 MB / 462.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003365/0.775, allocations: 122.6 kB / 0.5645 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.775, allocations: 5.281 kB / 0.5645 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.775, allocations: 3.375 kB / 0.5645 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.775, allocations: 0 / 0.5645 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.7751, allocations: 28.16 kB / 0.5645 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7752, allocations: 0 / 0.5645 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.7753, allocations: 4.719 kB / 0.5645 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.7754, allocations: 13.53 kB / 0.5645 GB, free: 13.94 MB / 462.1 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.0001087/0.7755, allocations: 126.8 kB / 0.5647 GB, free: 13.81 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.7755, allocations: 8.188 kB / 0.5647 GB, free: 13.81 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.776, allocations: 252.3 kB / 0.5649 GB, free: 13.77 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.7761, allocations: 0 / 0.5649 GB, free: 13.77 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7761, allocations: 6.156 kB / 0.5649 GB, free: 13.77 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7761, allocations: 0 / 0.5649 GB, free: 13.77 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.7763, allocations: 196.2 kB / 0.5651 GB, free: 13.59 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7763, allocations: 0 / 0.5651 GB, free: 13.59 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.7764, allocations: 19.56 kB / 0.5651 GB, free: 13.59 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.7764, allocations: 4.109 kB / 0.5651 GB, free: 13.59 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.7765, allocations: 2.375 kB / 0.5651 GB, free: 13.59 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7765, allocations: 0 / 0.5651 GB, free: 13.59 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7765, allocations: 2.875 kB / 0.5651 GB, free: 13.59 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.7769, allocations: 190 kB / 0.5653 GB, free: 13.51 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.777, allocations: 18.64 kB / 0.5653 GB, free: 13.5 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.777, allocations: 3.562 kB / 0.5653 GB, free: 13.5 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.7772, allocations: 3.25 kB / 0.5653 GB, free: 13.5 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.7772, allocations: 11.78 kB / 0.5653 GB, free: 13.5 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.7772, allocations: 5.766 kB / 0.5653 GB, free: 13.5 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0001628/0.7774, allocations: 136.4 kB / 0.5655 GB, free: 13.42 MB / 462.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.7774, allocations: 3.406 kB / 0.5655 GB, free: 13.42 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.000478/0.7779, allocations: 131.6 kB / 0.5656 GB, free: 13.39 MB / 462.1 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.0007011/0.7786, allocations: 318.3 kB / 0.5659 GB, free: 13.27 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002801/0.7789, allocations: 83.81 kB / 0.566 GB, free: 13.26 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7789, allocations: 0 / 0.566 GB, free: 13.26 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.779, allocations: 39.86 kB / 0.566 GB, free: 13.26 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.7792, allocations: 8.438 kB / 0.566 GB, free: 13.26 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.7797, allocations: 306.5 kB / 0.5663 GB, free: 13.04 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.7801, allocations: 0.6878 MB / 0.567 GB, free: 12.34 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0004375/0.7805, allocations: 429 kB / 0.5674 GB, free: 12.31 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.7806, allocations: 39.77 kB / 0.5674 GB, free: 12.3 MB / 462.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.7806, allocations: 1.203 kB / 0.5674 GB, free: 12.3 MB / 462.1 MB
Notification: Performance of Templates: time 0.008762/0.7894, allocations: 5.254 MB / 0.5726 GB, free: 11.76 MB / 462.1 MB
"
[Timeout remaining time 659]
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=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480]
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.983409975655377]