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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 87.62 kB / 22.19 MB, free: 2.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008816/0.0008816, allocations: 159.4 kB / 25.45 MB, free: 9.5 MB / 18.57 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 0.9148/0.9148, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.67e-05/3.857e-05, allocations: 6.219 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002071/0.002109, allocations: 1.314 MB / 301 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009246/0.01136, allocations: 10.68 MB / 311.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.01142, allocations: 0 / 311.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.01145, allocations: 11.92 kB / 311.7 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.01449, allocations: 1.041 MB / 312.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.01621, allocations: 0.6486 MB / 313.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.01637, allocations: 71.64 kB / 313.5 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.01642, allocations: 4 kB / 313.5 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.01651, allocations: 43.89 kB / 313.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.01662, allocations: 19.97 kB / 313.5 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.01664, allocations: 8 kB / 313.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.01918, allocations: 1.498 MB / 315 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.0192, allocations: 4 kB / 315 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.01924, allocations: 23.92 kB / 315.1 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.02104, allocations: 1.243 MB / 316.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.02105, allocations: 0 / 316.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02105, allocations: 0 / 316.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.02106, allocations: 0 / 316.3 MB, free: 6.234 MB / 298.7 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.0008606/0.02192, allocations: 484.3 kB / 316.8 MB, free: 5.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.02197, allocations: 11.98 kB / 316.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.02211, allocations: 20.83 kB / 316.8 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.02225, allocations: 125.6 kB / 316.9 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.02227, allocations: 4.375 kB / 316.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.02229, allocations: 384 / 316.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.02248, allocations: 119.4 kB / 317.1 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.02249, allocations: 192 / 317.1 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.02251, allocations: 4.125 kB / 317.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.02251, allocations: 0 / 317.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.02259, allocations: 27.91 kB / 317.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.02276, allocations: 118.2 kB / 317.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.02302, allocations: 77.28 kB / 317.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.02307, allocations: 29.7 kB / 317.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002878/0.02594, allocations: 1.506 MB / 318.8 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.02598, allocations: 34.56 kB / 318.8 MB, free: 3.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.02598, allocations: 4 kB / 318.8 MB, free: 3.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003034/0.02628, allocations: 85.69 kB / 318.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.02633, allocations: 85.05 kB / 319 MB, free: 3.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.02643, allocations: 117.8 kB / 319.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.02645, allocations: 25.7 kB / 319.2 MB, free: 3.195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.02649, allocations: 84.14 kB / 319.2 MB, free: 3.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.02652, allocations: 11.91 kB / 319.3 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.02656, allocations: 21.7 kB / 319.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.02665, allocations: 318.8 kB / 319.6 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.02669, allocations: 11.98 kB / 319.6 MB, free: 2.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.02673, allocations: 25.72 kB / 319.6 MB, free: 2.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.0268, allocations: 41.64 kB / 319.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.0268, allocations: 0 / 319.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001008/0.0269, allocations: 69.56 kB / 319.7 MB, free: 2.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.02692, allocations: 8 kB / 319.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.02692, allocations: 0 / 319.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.02693, allocations: 0 / 319.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.02697, allocations: 15.92 kB / 319.8 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.02698, allocations: 4.312 kB / 319.8 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.381e-05/0.027, allocations: 11.94 kB / 319.8 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.02701, allocations: 0 / 319.8 MB, free: 2.547 MB / 298.7 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 7.642e-05/0.02709, allocations: 113.8 kB / 319.9 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.0271, allocations: 7.953 kB / 319.9 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.02729, allocations: 105.5 kB / 320 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02729, allocations: 0 / 320 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.0273, allocations: 7.875 kB / 320 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0273, allocations: 8 kB / 320 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.353e-05/0.02738, allocations: 113.3 kB / 320.1 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.02738, allocations: 7.875 kB / 320.1 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.02741, allocations: 8 kB / 320.1 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.02741, allocations: 0 / 320.1 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.02742, allocations: 4 kB / 320.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.02742, allocations: 0 / 320.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02742, allocations: 0 / 320.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.02754, allocations: 102.3 kB / 320.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.02757, allocations: 15.98 kB / 320.3 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.02758, allocations: 12.11 kB / 320.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.02762, allocations: 11.98 kB / 320.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.02766, allocations: 11.94 kB / 320.3 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.02766, allocations: 3.984 kB / 320.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.215e-05/0.02771, allocations: 91.28 kB / 320.4 MB, free: 1.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02771, allocations: 0 / 320.4 MB, free: 1.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.02828, allocations: 322.8 kB / 320.7 MB, free: 1.551 MB / 298.7 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.0008655/0.02915, allocations: 0.6109 MB / 321.3 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.02929, allocations: 39.89 kB / 321.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.02929, allocations: 4 kB / 321.3 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.526e-05/0.02933, allocations: 19.98 kB / 321.4 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.02948, allocations: 8 kB / 321.4 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.02985, allocations: 191.2 kB / 321.6 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.0299, allocations: 79.16 kB / 321.6 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.02995, allocations: 28.48 kB / 321.7 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02995, allocations: 0 / 321.7 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of Templates: time 0.007778/0.03773, allocations: 6.066 MB / 327.7 MB, free: 10.44 MB / 314.7 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: 5.244140935130417]