Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 106.4 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00187/0.00187, allocations: 209.9 kB / 24.53 MB, free: 4.035 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.00296/0.00296, allocations: 64.72 kB / 379 MB, free: 2.691 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2689, allocations: 53.38 MB / 432.4 MB, free: 6.996 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002399/0.2713, allocations: 1.37 MB / 433.8 MB, free: 5.621 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0145/0.2858, allocations: 12.22 MB / 446 MB, free: 9.352 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.2858, allocations: 0 / 446 MB, free: 9.352 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.2858, allocations: 3.938 kB / 446 MB, free: 9.348 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00308/0.2889, allocations: 1.057 MB / 447.1 MB, free: 8.293 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.2905, allocations: 0.6316 MB / 447.7 MB, free: 7.66 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001246/0.2907, allocations: 63.7 kB / 447.7 MB, free: 7.598 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.2907, allocations: 4 kB / 447.7 MB, free: 7.594 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.2908, allocations: 27.92 kB / 447.8 MB, free: 7.566 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2909, allocations: 39.84 kB / 447.8 MB, free: 7.527 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.2909, allocations: 4 kB / 447.8 MB, free: 7.523 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.2941, allocations: 1.647 MB / 449.5 MB, free: 5.875 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.523e-05/0.2942, allocations: 15.92 kB / 449.5 MB, free: 5.859 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.2942, allocations: 19.92 kB / 449.5 MB, free: 5.84 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001971/0.2962, allocations: 1.076 MB / 450.6 MB, free: 4.762 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2962, allocations: 0 / 450.6 MB, free: 4.762 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.343e-06/0.2962, allocations: 4 kB / 450.6 MB, free: 4.758 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 4.909e-06/0.2962, allocations: 0 / 450.6 MB, free: 4.758 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.0007293/0.2969, allocations: 488.2 kB / 451.1 MB, free: 4.25 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.297, allocations: 12.03 kB / 451.1 MB, free: 4.238 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.2971, allocations: 12.88 kB / 451.1 MB, free: 4.227 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.2972, allocations: 130.4 kB / 451.2 MB, free: 4.074 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2972, allocations: 4.359 kB / 451.2 MB, free: 4.07 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.2973, allocations: 8.375 kB / 451.2 MB, free: 4.062 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2974, allocations: 63.52 kB / 451.3 MB, free: 3.988 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2974, allocations: 0 / 451.3 MB, free: 3.988 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2975, allocations: 4 kB / 451.3 MB, free: 3.984 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2975, allocations: 4 kB / 451.3 MB, free: 3.98 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.2976, allocations: 23.92 kB / 451.3 MB, free: 3.957 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.2978, allocations: 149.6 kB / 451.5 MB, free: 3.766 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.2981, allocations: 81.25 kB / 451.5 MB, free: 3.668 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.337e-05/0.2982, allocations: 33.58 kB / 451.6 MB, free: 3.629 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.005776/0.3039, allocations: 1.49 MB / 453.1 MB, free: 2.137 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.304, allocations: 50.48 kB / 453.1 MB, free: 2.078 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.304, allocations: 0 / 453.1 MB, free: 2.078 MB / 350.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0003591/0.3043, allocations: 77.61 kB / 453.2 MB, free: 1.996 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.3044, allocations: 77.11 kB / 453.3 MB, free: 1.902 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3045, allocations: 109.8 kB / 453.4 MB, free: 1.785 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3045, allocations: 29.7 kB / 453.4 MB, free: 1.75 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.3046, allocations: 88.12 kB / 453.5 MB, free: 1.66 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.3046, allocations: 19.86 kB / 453.5 MB, free: 1.641 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.3046, allocations: 21.72 kB / 453.5 MB, free: 1.613 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001356/0.3048, allocations: 314.8 kB / 453.8 MB, free: 1.297 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.3048, allocations: 12 kB / 453.8 MB, free: 1.285 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.3049, allocations: 21.7 kB / 453.9 MB, free: 1.258 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.305, allocations: 46 kB / 453.9 MB, free: 1.207 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.305, allocations: 4 kB / 453.9 MB, free: 1.203 MB / 350.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001675/0.3052, allocations: 77.5 kB / 454 MB, free: 1.121 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3052, allocations: 11.94 kB / 454 MB, free: 1.109 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3052, allocations: 0 / 454 MB, free: 1.109 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3052, allocations: 128 / 454 MB, free: 1.109 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.3053, allocations: 15.98 kB / 454 MB, free: 1.094 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3053, allocations: 4 kB / 454 MB, free: 1.09 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.3054, allocations: 3.938 kB / 454 MB, free: 1.086 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3054, allocations: 4 kB / 454 MB, free: 1.082 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 9.64e-05/0.3055, allocations: 113.8 kB / 454.1 MB, free: 0.9609 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.3055, allocations: 11.89 kB / 454.2 MB, free: 0.9492 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.3058, allocations: 105.5 kB / 454.3 MB, free: 0.8398 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3058, allocations: 0 / 454.3 MB, free: 0.8398 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3058, allocations: 0 / 454.3 MB, free: 0.8398 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3058, allocations: 7.984 kB / 454.3 MB, free: 0.832 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.3059, allocations: 132.8 kB / 454.4 MB, free: 0.6602 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3059, allocations: 3.984 kB / 454.4 MB, free: 0.6562 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.306, allocations: 15.94 kB / 454.4 MB, free: 0.6406 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.306, allocations: 0 / 454.4 MB, free: 0.6406 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.306, allocations: 4 kB / 454.4 MB, free: 0.6367 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.306, allocations: 0 / 454.4 MB, free: 0.6367 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.306, allocations: 0 / 454.4 MB, free: 0.6367 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.3062, allocations: 105.9 kB / 454.5 MB, free: 0.5117 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.3062, allocations: 15.92 kB / 454.5 MB, free: 0.4961 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.3062, allocations: 0 / 454.5 MB, free: 0.4961 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.3063, allocations: 4 kB / 454.5 MB, free: 0.4922 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.3064, allocations: 7.984 kB / 454.5 MB, free: 496 kB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3064, allocations: 11.92 kB / 454.6 MB, free: 484 kB / 350.1 MB
Notification: Performance of sorting global known variables: time 7.603e-05/0.3065, allocations: 87.28 kB / 454.6 MB, free: 396 kB / 350.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.3065, allocations: 4 kB / 454.6 MB, free: 392 kB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0008117/0.3073, allocations: 326.8 kB / 455 MB, free: 64 kB / 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.00113/0.3084, allocations: 0.5843 MB / 455.6 MB, free: 15.47 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001903/0.3086, allocations: 31.92 kB / 455.6 MB, free: 15.44 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3086, allocations: 4 kB / 455.6 MB, free: 15.43 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.3087, allocations: 19.98 kB / 455.6 MB, free: 15.41 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.3089, allocations: 27.8 kB / 455.6 MB, free: 15.39 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.3093, allocations: 156.4 kB / 455.8 MB, free: 15.2 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.3096, allocations: 0.6807 MB / 456.5 MB, free: 14.5 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001145/0.3097, allocations: 48.25 kB / 456.5 MB, free: 14.45 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.3098, allocations: 27.42 kB / 456.5 MB, free: 14.42 MB / 366.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.3098, allocations: 0 / 456.5 MB, free: 14.42 MB / 366.1 MB
Notification: Performance of Templates: time 0.01468/0.3244, allocations: 9.016 MB / 465.6 MB, free: 5.402 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.713338380679488]