Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001797/0.001797, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002191/0.002191, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.08e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002025/0.002046, allocations: 1.347 MB / 326.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.01615, allocations: 10.71 MB / 337.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.0162, allocations: 1.125 kB / 337.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.01623, allocations: 7.938 kB / 337.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003228/0.01946, allocations: 1.046 MB / 338.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.02115, allocations: 0.6469 MB / 338.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.02128, allocations: 68.55 kB / 338.8 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.02131, allocations: 6.156 kB / 338.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.02141, allocations: 38.53 kB / 338.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.02149, allocations: 24.62 kB / 338.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.02151, allocations: 2.938 kB / 338.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.02437, allocations: 1.497 MB / 340.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.02439, allocations: 7.969 kB / 340.4 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.02443, allocations: 19.94 kB / 340.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.02694, allocations: 1.247 MB / 341.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.02694, allocations: 0 / 341.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02695, allocations: 0 / 341.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.02695, allocations: 4 kB / 341.7 MB, free: 4.363 MB / 302.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.0008791/0.02783, allocations: 484.2 kB / 342.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.02787, allocations: 11.98 kB / 342.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/0.02801, allocations: 16.88 kB / 342.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.02816, allocations: 117.7 kB / 342.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.02817, allocations: 384 / 342.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.02819, allocations: 8.375 kB / 342.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.0284, allocations: 115.3 kB / 342.4 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.0284, allocations: 4.188 kB / 342.4 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.02842, allocations: 8.062 kB / 342.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.02842, allocations: 8 kB / 342.4 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.02854, allocations: 23.92 kB / 342.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.02872, allocations: 126.2 kB / 342.6 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.02902, allocations: 69.19 kB / 342.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.0291, allocations: 25.77 kB / 342.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006141/0.03524, allocations: 1.509 MB / 344.2 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.03527, allocations: 34.56 kB / 344.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.03527, allocations: 0 / 344.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003303/0.0356, allocations: 85.91 kB / 344.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.03566, allocations: 81.05 kB / 344.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.03577, allocations: 121.8 kB / 344.5 MB, free: 1.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.03579, allocations: 25.7 kB / 344.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.03584, allocations: 88.12 kB / 344.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.03588, allocations: 27.78 kB / 344.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.03592, allocations: 17.72 kB / 344.6 MB, free: 1.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.03607, allocations: 322.8 kB / 345 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.03612, allocations: 4 kB / 345 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.03619, allocations: 29.7 kB / 345 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.03631, allocations: 41.64 kB / 345 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.03632, allocations: 0 / 345 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001893/0.03651, allocations: 69.62 kB / 345.1 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.03652, allocations: 4 kB / 345.1 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.03653, allocations: 8 kB / 345.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.03654, allocations: 0 / 345.1 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.03661, allocations: 19.86 kB / 345.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.03662, allocations: 0 / 345.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.03666, allocations: 7.938 kB / 345.1 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.03668, allocations: 0 / 345.1 MB, free: 0.6602 MB / 302.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.91e-05/0.03677, allocations: 113.8 kB / 345.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.03679, allocations: 7.953 kB / 345.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.03708, allocations: 101.6 kB / 345.4 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.03708, allocations: 0 / 345.4 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.03709, allocations: 3.938 kB / 345.4 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.03709, allocations: 0 / 345.4 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.03721, allocations: 117.3 kB / 345.5 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.03721, allocations: 0 / 345.5 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.03728, allocations: 15.92 kB / 345.5 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.03728, allocations: 0 / 345.5 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.03729, allocations: 4 kB / 345.5 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.03729, allocations: 3.938 kB / 345.5 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03729, allocations: 4 kB / 345.5 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.0375, allocations: 106 kB / 345.6 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.03754, allocations: 12.22 kB / 345.6 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.03756, allocations: 0 / 345.6 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.03764, allocations: 4 kB / 345.6 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.03769, allocations: 23.84 kB / 345.7 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.0377, allocations: 0 / 345.7 MB, free: 88 kB / 302.1 MB Notification: Performance of sorting global known variables: time 8.42e-05/0.03778, allocations: 95.27 kB / 345.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03778, allocations: 0 / 345.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008141/0.0386, allocations: 326.8 kB / 346.1 MB, free: 15.67 MB / 318.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.001352/0.03995, allocations: 0.6148 MB / 346.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.04012, allocations: 32.02 kB / 346.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.04013, allocations: 0 / 346.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.0402, allocations: 24.06 kB / 346.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.0404, allocations: 20.53 kB / 346.8 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.04082, allocations: 153.5 kB / 346.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.855e-05/0.04088, allocations: 63.34 kB / 347 MB, free: 14.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.041, allocations: 51.86 kB / 347 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.04105, allocations: 24.48 kB / 347 MB, free: 14.63 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.04105, allocations: 0 / 347 MB, free: 14.63 MB / 318.1 MB Notification: Performance of Templates: time 0.01589/0.05694, allocations: 9.131 MB / 356.2 MB, free: 5.508 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.432946071028709]