Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.0009601/0.0009601, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.0009611/0.0009611, allocations: 164 kB / 25.75 MB, free: 8.582 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.8537/0.8537, allocations: 158.6 MB / 187.5 MB, free: 2.633 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.113e-05, allocations: 2.312 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002161/0.002182, allocations: 1.394 MB / 252.5 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.03053/0.03271, allocations: 23.38 MB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.03278, allocations: 0 / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.03292, allocations: 11.92 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01526/0.04818, allocations: 5.672 MB / 281.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.04871, allocations: 374.3 kB / 281.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.04882, allocations: 75.66 kB / 282 MB, free: 8.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.04886, allocations: 11.97 kB / 282 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.641e-05/0.04892, allocations: 39.91 kB / 282.1 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.04901, allocations: 31.89 kB / 282.1 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.04902, allocations: 4 kB / 282.1 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009948/0.05897, allocations: 8.284 MB / 290.4 MB, free: 380 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.05901, allocations: 19.92 kB / 290.4 MB, free: 360 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.05905, allocations: 19.94 kB / 290.4 MB, free: 340 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005961/0.06501, allocations: 5.445 MB / 295.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.06501, allocations: 4 kB / 295.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.06501, allocations: 0 / 295.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.06502, allocations: 0 / 295.9 MB, free: 10.87 MB / 282.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.0014/0.06642, allocations: 0.952 MB / 296.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.06645, allocations: 11.98 kB / 296.8 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.06651, allocations: 12.89 kB / 296.8 MB, free: 9.855 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.06662, allocations: 124.6 kB / 297 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.06664, allocations: 8.359 kB / 297 MB, free: 9.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.06665, allocations: 3.938 kB / 297 MB, free: 9.695 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.0668, allocations: 137.1 kB / 297.1 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.06681, allocations: 0 / 297.1 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.06682, allocations: 7.984 kB / 297.1 MB, free: 9.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.06682, allocations: 4 kB / 297.1 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.06686, allocations: 12 kB / 297.1 MB, free: 9.508 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.06699, allocations: 136.3 kB / 297.3 MB, free: 9.336 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.06718, allocations: 86.19 kB / 297.3 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.06721, allocations: 31.38 kB / 297.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.06726, allocations: 15.92 kB / 297.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.06728, allocations: 33.39 kB / 297.4 MB, free: 9.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.06728, allocations: 4 kB / 297.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001611/0.06744, allocations: 77.56 kB / 297.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.06747, allocations: 81.05 kB / 297.6 MB, free: 8.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.06756, allocations: 193.9 kB / 297.8 MB, free: 8.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.06757, allocations: 29.69 kB / 297.8 MB, free: 8.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.06761, allocations: 130.9 kB / 297.9 MB, free: 8.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.06764, allocations: 23.78 kB / 297.9 MB, free: 8.547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.06767, allocations: 23.38 kB / 298 MB, free: 8.516 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.06777, allocations: 0.4923 MB / 298.5 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.06779, allocations: 4 kB / 298.5 MB, free: 8.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.06782, allocations: 27.36 kB / 298.5 MB, free: 7.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.06787, allocations: 35.38 kB / 298.5 MB, free: 7.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.06788, allocations: 0 / 298.5 MB, free: 7.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.502e-05/0.06796, allocations: 69.92 kB / 298.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.06797, allocations: 4 kB / 298.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.06798, allocations: 96 / 298.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.06799, allocations: 3.984 kB / 298.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.06804, allocations: 12 kB / 298.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.06804, allocations: 3.938 kB / 298.6 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.06806, allocations: 11.94 kB / 298.6 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.06807, allocations: 8 kB / 298.6 MB, free: 7.812 MB / 282.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 6.074e-05/0.06813, allocations: 152.6 kB / 298.8 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.06815, allocations: 15.94 kB / 298.8 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.06827, allocations: 77.55 kB / 298.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.06827, allocations: 4 kB / 298.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.06827, allocations: 0 / 298.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.06828, allocations: 0 / 298.9 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.289e-05/0.06835, allocations: 128.6 kB / 299 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.06835, allocations: 4 kB / 299 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.06838, allocations: 8 kB / 299 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.06838, allocations: 7.938 kB / 299 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.06839, allocations: 0 / 299 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.06839, allocations: 4 kB / 299 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.06839, allocations: 3.938 kB / 299 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.457e-05/0.06848, allocations: 116.1 kB / 299.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.06851, allocations: 4 kB / 299.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.06852, allocations: 11.92 kB / 299.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.06855, allocations: 4 kB / 299.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.06859, allocations: 3.984 kB / 299.2 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.0686, allocations: 8 kB / 299.2 MB, free: 7.195 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.579e-05/0.06864, allocations: 143.2 kB / 299.3 MB, free: 7.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06864, allocations: 0 / 299.3 MB, free: 7.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001262/0.0699, allocations: 0.9314 MB / 300.3 MB, free: 6.121 MB / 282.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.003005/0.07291, allocations: 1.488 MB / 301.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.07307, allocations: 35.61 kB / 301.8 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.07308, allocations: 4 kB / 301.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.303e-05/0.07311, allocations: 31.61 kB / 301.8 MB, free: 4.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.07333, allocations: 28.03 kB / 301.8 MB, free: 4.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.07397, allocations: 181 kB / 302 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.074, allocations: 55.36 kB / 302.1 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.07404, allocations: 15.92 kB / 302.1 MB, free: 4.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.07408, allocations: 16.5 kB / 302.1 MB, free: 4.215 MB / 282.7 MB Notification: Performance of SimCode: time 1.793e-06/0.07408, allocations: 3.938 kB / 302.1 MB, free: 4.211 MB / 282.7 MB Notification: Performance of Templates: time 0.03291/0.107, allocations: 29.58 MB / 331.7 MB, free: 6.602 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","",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.145131787052378]