Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001259/0.001259, allocations: 106 kB / 21.18 MB, free: 0.707 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.001319/0.001319, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.451/1.451, allocations: 207.6 MB / 235.2 MB, free: 10.01 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.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.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.001876/0.001876, allocations: 58.58 kB / 347.7 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.269, allocations: 49.15 MB / 396.8 MB, free: 9.523 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002654/0.2716, allocations: 1.351 MB / 398.2 MB, free: 8.574 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.015/0.2866, allocations: 12.2 MB / 410.4 MB, free: 15.74 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.2867, allocations: 0 / 410.4 MB, free: 15.74 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.2868, allocations: 6.234 kB / 410.4 MB, free: 15.74 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004834/0.2916, allocations: 1.043 MB / 411.4 MB, free: 15.23 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.2941, allocations: 0.6423 MB / 412.1 MB, free: 14.9 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001649/0.2943, allocations: 63.97 kB / 412.1 MB, free: 14.87 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.2943, allocations: 3.969 kB / 412.1 MB, free: 14.87 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.469e-05/0.2944, allocations: 24.73 kB / 412.1 MB, free: 14.86 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2945, allocations: 36.84 kB / 412.2 MB, free: 14.85 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.2945, allocations: 6.75 kB / 412.2 MB, free: 14.84 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.2993, allocations: 1.643 MB / 413.8 MB, free: 14.07 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.692e-05/0.2993, allocations: 22.47 kB / 413.8 MB, free: 14.05 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.2994, allocations: 17.44 kB / 413.9 MB, free: 14.04 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003534/0.3029, allocations: 1.081 MB / 414.9 MB, free: 13.41 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3029, allocations: 0 / 414.9 MB, free: 13.41 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.204e-06/0.3029, allocations: 0 / 414.9 MB, free: 13.41 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.803e-06/0.3029, allocations: 1.375 kB / 414.9 MB, free: 13.41 MB / 334.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.001166/0.3041, allocations: 487.8 kB / 415.4 MB, free: 12.99 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.3041, allocations: 16.86 kB / 415.4 MB, free: 12.98 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3043, allocations: 14.64 kB / 415.5 MB, free: 12.97 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.3045, allocations: 120.4 kB / 415.6 MB, free: 12.84 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3045, allocations: 1.719 kB / 415.6 MB, free: 12.84 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3045, allocations: 10.84 kB / 415.6 MB, free: 12.83 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3047, allocations: 68.73 kB / 415.7 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3047, allocations: 0 / 415.7 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3048, allocations: 1.062 kB / 415.7 MB, free: 12.77 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.3048, allocations: 9.281 kB / 415.7 MB, free: 12.76 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3049, allocations: 24.56 kB / 415.7 MB, free: 12.75 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.3051, allocations: 143.8 kB / 415.8 MB, free: 12.57 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3054, allocations: 77.78 kB / 415.9 MB, free: 12.5 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.3055, allocations: 25.5 kB / 415.9 MB, free: 12.48 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006248/0.3117, allocations: 1.493 MB / 417.4 MB, free: 11.79 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.3118, allocations: 40.91 kB / 417.5 MB, free: 11.74 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 2.615e-06/0.3118, allocations: 11.88 kB / 417.5 MB, free: 11.73 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0003958/0.3122, allocations: 81.02 kB / 417.6 MB, free: 11.68 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.3122, allocations: 82.45 kB / 417.6 MB, free: 11.58 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3124, allocations: 110.2 kB / 417.7 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3124, allocations: 30.8 kB / 417.8 MB, free: 11.44 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.3124, allocations: 85.2 kB / 417.9 MB, free: 11.35 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.3125, allocations: 23.14 kB / 417.9 MB, free: 11.33 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.3125, allocations: 22.22 kB / 417.9 MB, free: 11.31 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001385/0.3127, allocations: 312 kB / 418.2 MB, free: 11 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.165e-05/0.3127, allocations: 15.95 kB / 418.2 MB, free: 10.99 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.3128, allocations: 22.39 kB / 418.2 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3129, allocations: 43.06 kB / 418.3 MB, free: 10.94 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3129, allocations: 0 / 418.3 MB, free: 10.94 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001942/0.3131, allocations: 85.91 kB / 418.4 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3131, allocations: 5.312 kB / 418.4 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3131, allocations: 0 / 418.4 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.3132, allocations: 1.156 kB / 418.4 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.3133, allocations: 8.812 kB / 418.4 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3133, allocations: 5.016 kB / 418.4 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.3133, allocations: 6.281 kB / 418.4 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3133, allocations: 2.156 kB / 418.4 MB, free: 10.86 MB / 334.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 0.0001033/0.3134, allocations: 115.9 kB / 418.5 MB, free: 10.74 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.3135, allocations: 11.36 kB / 418.5 MB, free: 10.73 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.3137, allocations: 100.5 kB / 418.6 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3137, allocations: 1.406 kB / 418.6 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3137, allocations: 0 / 418.6 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3137, allocations: 1.25 kB / 418.6 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3139, allocations: 137.3 kB / 418.8 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3139, allocations: 0.9688 kB / 418.8 MB, free: 10.5 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.314, allocations: 25.61 kB / 418.8 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.314, allocations: 1.344 kB / 418.8 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.314, allocations: 1.188 kB / 418.8 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.314, allocations: 0 / 418.8 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.314, allocations: 1.062 kB / 418.8 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.3142, allocations: 104.8 kB / 418.9 MB, free: 10.38 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.3142, allocations: 15.23 kB / 418.9 MB, free: 10.37 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3143, allocations: 1.031 kB / 418.9 MB, free: 10.37 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.3143, allocations: 2.062 kB / 418.9 MB, free: 10.37 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.3144, allocations: 11.33 kB / 418.9 MB, free: 10.36 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.3144, allocations: 2.188 kB / 418.9 MB, free: 10.36 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 7.054e-05/0.3145, allocations: 93.02 kB / 419 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3145, allocations: 3.938 kB / 419 MB, free: 10.28 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.001319/0.3158, allocations: 333.7 kB / 419.3 MB, free: 10.16 MB / 334.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.001762/0.3175, allocations: 0.5847 MB / 419.9 MB, free: 9.848 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002128/0.3178, allocations: 33 kB / 420 MB, free: 9.836 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3178, allocations: 0 / 420 MB, free: 9.836 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.503e-05/0.3178, allocations: 28.36 kB / 420 MB, free: 9.82 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.3181, allocations: 13.34 kB / 420 MB, free: 9.812 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.3185, allocations: 160.6 kB / 420.1 MB, free: 9.672 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3188, allocations: 0.6859 MB / 420.8 MB, free: 8.969 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0001171/0.319, allocations: 39.8 kB / 420.9 MB, free: 8.953 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.319, allocations: 27.39 kB / 420.9 MB, free: 8.934 MB / 334.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.319, allocations: 4 kB / 420.9 MB, free: 8.93 MB / 334.1 MB
Notification: Performance of Templates: time 0.01839/0.3374, allocations: 9.025 MB / 429.9 MB, free: 1.887 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.470170398242772]