Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.001376/0.001376, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001422/0.001422, allocations: 189.5 kB / 23.72 MB, free: 4.68 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.404/1.404, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T")
translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 39.92 kB / 370.9 MB, free: 9.359 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2569, allocations: 52.2 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002538/0.2595, allocations: 1.374 MB / 424.5 MB, free: 13.29 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01436/0.2738, allocations: 12.18 MB / 436.7 MB, free: 1.059 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.2739, allocations: 0 / 436.7 MB, free: 1.059 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.2739, allocations: 7.984 kB / 436.7 MB, free: 1.051 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003557/0.2775, allocations: 1.057 MB / 437.7 MB, free: 15.99 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.2794, allocations: 0.6295 MB / 438.4 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001275/0.2795, allocations: 67.64 kB / 438.4 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.2796, allocations: 9.688 kB / 438.4 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.2796, allocations: 23.92 kB / 438.5 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.2797, allocations: 43.83 kB / 438.5 MB, free: 15.22 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2797, allocations: 0 / 438.5 MB, free: 15.22 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.2834, allocations: 1.643 MB / 440.1 MB, free: 13.58 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.2834, allocations: 15.97 kB / 440.2 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.2835, allocations: 19.88 kB / 440.2 MB, free: 13.54 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002881/0.2863, allocations: 1.076 MB / 441.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2864, allocations: 0 / 441.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.723e-06/0.2864, allocations: 0 / 441.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 7.024e-06/0.2864, allocations: 0 / 441.3 MB, free: 12.46 MB / 350.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.0009876/0.2873, allocations: 496.2 kB / 441.7 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2874, allocations: 12.03 kB / 441.8 MB, free: 11.94 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.2876, allocations: 4.938 kB / 441.8 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.2878, allocations: 126.4 kB / 441.9 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.2878, allocations: 384 / 441.9 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2878, allocations: 384 / 441.9 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.288, allocations: 71.52 kB / 442 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.288, allocations: 4 kB / 442 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.2881, allocations: 3.938 kB / 442 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2881, allocations: 0 / 442 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.2882, allocations: 27.97 kB / 442 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.2885, allocations: 141.7 kB / 442.1 MB, free: 11.48 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.2888, allocations: 77.12 kB / 442.2 MB, free: 11.39 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.2889, allocations: 29.78 kB / 442.2 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006107/0.295, allocations: 1.506 MB / 443.7 MB, free: 9.848 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.295, allocations: 42.5 kB / 443.8 MB, free: 9.797 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.295, allocations: 0 / 443.8 MB, free: 9.797 MB / 350.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0003647/0.2954, allocations: 85.55 kB / 443.9 MB, free: 9.707 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.2954, allocations: 77.11 kB / 443.9 MB, free: 9.613 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.2956, allocations: 113.8 kB / 444 MB, free: 9.492 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.2956, allocations: 25.7 kB / 444.1 MB, free: 9.461 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.2956, allocations: 92.14 kB / 444.2 MB, free: 9.367 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.2957, allocations: 15.84 kB / 444.2 MB, free: 9.352 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.2957, allocations: 17.72 kB / 444.2 MB, free: 9.328 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001397/0.2959, allocations: 318.8 kB / 444.5 MB, free: 9.008 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.2959, allocations: 15.92 kB / 444.5 MB, free: 8.992 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.296, allocations: 25.7 kB / 444.5 MB, free: 8.961 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.2961, allocations: 41.7 kB / 444.6 MB, free: 8.914 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2961, allocations: 0 / 444.6 MB, free: 8.914 MB / 350.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001925/0.2963, allocations: 69.55 kB / 444.7 MB, free: 8.84 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2963, allocations: 4 kB / 444.7 MB, free: 8.836 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2963, allocations: 4 kB / 444.7 MB, free: 8.832 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2963, allocations: 0 / 444.7 MB, free: 8.832 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.2964, allocations: 15.94 kB / 444.7 MB, free: 8.816 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.2964, allocations: 0 / 444.7 MB, free: 8.816 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.2965, allocations: 16 kB / 444.7 MB, free: 8.801 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2965, allocations: 8 kB / 444.7 MB, free: 8.793 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (6):
 * Single equations (assignments): 6
 * 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 8.711e-05/0.2966, allocations: 109.8 kB / 444.8 MB, free: 8.676 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.2966, allocations: 15.88 kB / 444.8 MB, free: 8.66 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.2969, allocations: 94.03 kB / 444.9 MB, free: 8.562 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2969, allocations: 8.094 kB / 444.9 MB, free: 8.555 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2969, allocations: 0 / 444.9 MB, free: 8.555 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2969, allocations: 3.984 kB / 444.9 MB, free: 8.551 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.2971, allocations: 140.7 kB / 445.1 MB, free: 8.371 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2971, allocations: 4 kB / 445.1 MB, free: 8.367 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.811e-05/0.2971, allocations: 15.92 kB / 445.1 MB, free: 8.352 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2971, allocations: 0 / 445.1 MB, free: 8.352 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2971, allocations: 4 kB / 445.1 MB, free: 8.348 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.2971, allocations: 0 / 445.1 MB, free: 8.348 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2971, allocations: 4.25 kB / 445.1 MB, free: 8.344 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2974, allocations: 105.9 kB / 445.2 MB, free: 8.219 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.2974, allocations: 11.88 kB / 445.2 MB, free: 8.207 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.2974, allocations: 8 kB / 445.2 MB, free: 8.199 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.2975, allocations: 0 / 445.2 MB, free: 8.199 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.2975, allocations: 7.984 kB / 445.2 MB, free: 8.191 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.2975, allocations: 4 kB / 445.2 MB, free: 8.188 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 7.155e-05/0.2976, allocations: 103.2 kB / 445.3 MB, free: 8.086 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.2976, allocations: 0 / 445.3 MB, free: 8.086 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000918/0.2985, allocations: 326.8 kB / 445.6 MB, free: 7.766 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 simulation (6):
 * Single equations (assignments): 6
 * 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 Backend phase and start with SimCode phase: time 0.00141/0.2999, allocations: 0.5797 MB / 446.2 MB, free: 7.176 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002016/0.3001, allocations: 31.97 kB / 446.3 MB, free: 7.145 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3001, allocations: 4 kB / 446.3 MB, free: 7.141 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.3002, allocations: 19.92 kB / 446.3 MB, free: 7.121 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.3004, allocations: 15.94 kB / 446.3 MB, free: 7.105 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.3009, allocations: 152.4 kB / 446.4 MB, free: 6.926 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.3013, allocations: 0.6885 MB / 447.1 MB, free: 6.211 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.000118/0.3014, allocations: 44.11 kB / 447.2 MB, free: 6.168 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.3014, allocations: 23.42 kB / 447.2 MB, free: 6.145 MB / 350.1 MB
Notification: Performance of SimCode: time 3e-07/0.3014, allocations: 0 / 447.2 MB, free: 6.145 MB / 350.1 MB
Notification: Performance of Templates: time 0.01629/0.3177, allocations: 9.027 MB / 456.2 MB, free: 13.11 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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: 6.526896828785539]