Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001674/0.001674, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001979/0.001979, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 53.33 kB / 347.6 MB, free: 9.59 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2681, allocations: 49.17 MB / 396.8 MB, free: 9.512 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002269/0.2704, allocations: 1.359 MB / 398.2 MB, free: 8.555 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.18/0.4504, allocations: 150.8 MB / 0.5361 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.4505, allocations: 0 / 0.5361 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.4505, allocations: 3.938 kB / 0.5361 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001016/0.4515, allocations: 242.8 kB / 0.5364 GB, free: 10.44 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.4532, allocations: 0.6455 MB / 0.537 GB, free: 9.797 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001064/0.4533, allocations: 59.66 kB / 0.5371 GB, free: 9.738 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.4533, allocations: 7.984 kB / 0.5371 GB, free: 9.73 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.4534, allocations: 23.92 kB / 0.5371 GB, free: 9.707 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.4535, allocations: 27.91 kB / 0.5371 GB, free: 9.68 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.4535, allocations: 0 / 0.5371 GB, free: 9.68 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.4551, allocations: 0.9279 MB / 0.538 GB, free: 8.75 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.4551, allocations: 0 / 0.538 GB, free: 8.75 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.4551, allocations: 27.86 kB / 0.5381 GB, free: 8.723 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009811/0.4561, allocations: 0.6023 MB / 0.5386 GB, free: 8.121 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4561, allocations: 0 / 0.5386 GB, free: 8.121 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.573e-06/0.4561, allocations: 0 / 0.5386 GB, free: 8.121 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 6.892e-06/0.4561, allocations: 4 kB / 0.5386 GB, free: 8.117 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.0006055/0.4567, allocations: 377.3 kB / 0.539 GB, free: 7.719 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.4568, allocations: 11.98 kB / 0.539 GB, free: 7.707 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.4579, allocations: 100.8 kB / 0.5391 GB, free: 7.609 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.4582, allocations: 166.4 kB / 0.5393 GB, free: 7.422 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.4582, allocations: 15.86 kB / 0.5393 GB, free: 7.406 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.4582, allocations: 0 / 0.5393 GB, free: 7.406 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.4585, allocations: 99.31 kB / 0.5394 GB, free: 7.297 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4585, allocations: 0 / 0.5394 GB, free: 7.297 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4585, allocations: 0 / 0.5394 GB, free: 7.297 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4585, allocations: 4 kB / 0.5394 GB, free: 7.293 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.4587, allocations: 55.83 kB / 0.5394 GB, free: 7.238 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.459, allocations: 181.9 kB / 0.5396 GB, free: 7.016 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.4595, allocations: 125.1 kB / 0.5397 GB, free: 6.875 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.4596, allocations: 33.75 kB / 0.5398 GB, free: 6.836 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.4598, allocations: 92.58 kB / 0.5399 GB, free: 6.746 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4599, allocations: 30.56 kB / 0.5399 GB, free: 6.707 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4599, allocations: 4 kB / 0.5399 GB, free: 6.703 MB / 462.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0005575/0.4604, allocations: 129.5 kB / 0.54 GB, free: 6.57 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.4605, allocations: 77.11 kB / 0.5401 GB, free: 6.477 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.4607, allocations: 157.8 kB / 0.5402 GB, free: 6.312 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4608, allocations: 25.7 kB / 0.5403 GB, free: 6.281 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.4608, allocations: 88.14 kB / 0.5403 GB, free: 6.191 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.4609, allocations: 27.73 kB / 0.5404 GB, free: 6.164 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.4609, allocations: 33.69 kB / 0.5404 GB, free: 6.125 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001372/0.4611, allocations: 322.8 kB / 0.5407 GB, free: 5.801 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4612, allocations: 19.98 kB / 0.5407 GB, free: 5.781 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.4613, allocations: 55.34 kB / 0.5408 GB, free: 5.715 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.4616, allocations: 91.33 kB / 0.5409 GB, free: 5.613 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4616, allocations: 0 / 0.5409 GB, free: 5.613 MB / 462.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003548/0.4619, allocations: 113.9 kB / 0.541 GB, free: 5.496 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4619, allocations: 8 kB / 0.541 GB, free: 5.488 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4619, allocations: 0 / 0.541 GB, free: 5.488 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4619, allocations: 96 / 0.541 GB, free: 5.488 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.4621, allocations: 36 kB / 0.541 GB, free: 5.453 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.4621, allocations: 8 kB / 0.541 GB, free: 5.445 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.4623, allocations: 3.953 kB / 0.541 GB, free: 5.441 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.4623, allocations: 15.98 kB / 0.541 GB, free: 5.426 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.0001198/0.4624, allocations: 113.7 kB / 0.5412 GB, free: 5.305 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.4625, allocations: 8 kB / 0.5412 GB, free: 5.297 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006246/0.4631, allocations: 249.3 kB / 0.5414 GB, free: 5.051 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.4631, allocations: 3.984 kB / 0.5414 GB, free: 5.047 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4631, allocations: 4 kB / 0.5414 GB, free: 5.043 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4631, allocations: 0 / 0.5414 GB, free: 5.043 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4634, allocations: 197.9 kB / 0.5416 GB, free: 4.801 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4634, allocations: 0 / 0.5416 GB, free: 4.801 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.4635, allocations: 19.97 kB / 0.5416 GB, free: 4.781 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4636, allocations: 4 kB / 0.5416 GB, free: 4.777 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.4636, allocations: 11.98 kB / 0.5416 GB, free: 4.766 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4636, allocations: 3.938 kB / 0.5416 GB, free: 4.762 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4636, allocations: 0 / 0.5416 GB, free: 4.762 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.464, allocations: 181.8 kB / 0.5418 GB, free: 4.562 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.4641, allocations: 12.02 kB / 0.5418 GB, free: 4.551 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.4641, allocations: 8.062 kB / 0.5418 GB, free: 4.543 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.4643, allocations: 7.984 kB / 0.5418 GB, free: 4.535 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.4643, allocations: 11.92 kB / 0.5418 GB, free: 4.523 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4644, allocations: 4 kB / 0.5418 GB, free: 4.52 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0001742/0.4645, allocations: 131.2 kB / 0.542 GB, free: 4.391 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.4645, allocations: 0 / 0.542 GB, free: 4.391 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0005738/0.4651, allocations: 175.5 kB / 0.5421 GB, free: 4.219 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.0008666/0.466, allocations: 390.3 kB / 0.5425 GB, free: 3.828 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003259/0.4663, allocations: 71.88 kB / 0.5426 GB, free: 3.758 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4663, allocations: 0 / 0.5426 GB, free: 3.758 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.4664, allocations: 48.03 kB / 0.5426 GB, free: 3.711 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.4667, allocations: 11.94 kB / 0.5426 GB, free: 3.699 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.4673, allocations: 311.2 kB / 0.5429 GB, free: 3.367 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.4677, allocations: 0.6885 MB / 0.5436 GB, free: 2.652 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0006077/0.4683, allocations: 431.6 kB / 0.544 GB, free: 2.23 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.4684, allocations: 43.39 kB / 0.5441 GB, free: 2.188 MB / 462.1 MB
Notification: Performance of SimCode: time 3.71e-07/0.4684, allocations: 0 / 0.5441 GB, free: 2.188 MB / 462.1 MB
Notification: Performance of Templates: time 0.01222/0.4807, allocations: 6.186 MB / 0.5501 GB, free: 11.99 MB / 478.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.99564893450588]