Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.0008948/0.0008948, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009203/0.0009203, allocations: 142.1 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8724/0.8724, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 268.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.454e-05, allocations: 5.688 kB / 268.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001483/0.001497, allocations: 1.384 MB / 269.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.009907, allocations: 11.94 MB / 281.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.009937, allocations: 0 / 281.8 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.009957, allocations: 3.938 kB / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.01183, allocations: 1.072 MB / 282.9 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009251/0.01275, allocations: 0.6641 MB / 283.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.01284, allocations: 63.64 kB / 283.6 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.01287, allocations: 8 kB / 283.6 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/0.01292, allocations: 31.97 kB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.27e-05/0.013, allocations: 35.89 kB / 283.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.01301, allocations: 0 / 283.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.01457, allocations: 1.498 MB / 285.2 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.01458, allocations: 8 kB / 285.2 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.01461, allocations: 23.91 kB / 285.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.01574, allocations: 1.239 MB / 286.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.01574, allocations: 3.938 kB / 286.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01574, allocations: 0 / 286.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.01575, allocations: 8 kB / 286.4 MB, free: 3.977 MB / 266.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.0004404/0.01619, allocations: 466.8 kB / 286.9 MB, free: 3.496 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.01622, allocations: 12.92 kB / 286.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.984e-05/0.0163, allocations: 12.92 kB / 286.9 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/0.01638, allocations: 109.8 kB / 287 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.01639, allocations: 4.375 kB / 287 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.01641, allocations: 4.375 kB / 287 MB, free: 3.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.01653, allocations: 132 kB / 287.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.01653, allocations: 192 / 287.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.01654, allocations: 8.125 kB / 287.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.01654, allocations: 0 / 287.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.684e-05/0.01657, allocations: 15.92 kB / 287.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.812e-05/0.01666, allocations: 73.89 kB / 287.3 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.0168, allocations: 65.16 kB / 287.3 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.01682, allocations: 13.72 kB / 287.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002293/0.01911, allocations: 1.398 MB / 288.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.01913, allocations: 42.48 kB / 288.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.01913, allocations: 0 / 288.8 MB, free: 1.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001174/0.01925, allocations: 61.61 kB / 288.8 MB, free: 1.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.01928, allocations: 77.11 kB / 288.9 MB, free: 1.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.01935, allocations: 126.6 kB / 289 MB, free: 1.211 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.01936, allocations: 25.7 kB / 289.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.01938, allocations: 88.14 kB / 289.2 MB, free: 1.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.0194, allocations: 15.8 kB / 289.2 MB, free: 1.074 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.01943, allocations: 29.69 kB / 289.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.0195, allocations: 310.8 kB / 289.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.01951, allocations: 7.938 kB / 289.5 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.01953, allocations: 25.81 kB / 289.5 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.01957, allocations: 34.06 kB / 289.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01957, allocations: 0 / 289.6 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.592e-05/0.01963, allocations: 61.61 kB / 289.6 MB, free: 0.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.01964, allocations: 4 kB / 289.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.01964, allocations: 0 / 289.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.01965, allocations: 0 / 289.6 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.305e-05/0.01969, allocations: 15.98 kB / 289.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.01969, allocations: 0 / 289.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.01971, allocations: 3.938 kB / 289.7 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.01972, allocations: 4 kB / 289.7 MB, free: 0.5547 MB / 266.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 4.566e-05/0.01977, allocations: 109.8 kB / 289.8 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.01978, allocations: 15.98 kB / 289.8 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.865e-05/0.01988, allocations: 85.88 kB / 289.9 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01988, allocations: 0 / 289.9 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.01988, allocations: 4 kB / 289.9 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01988, allocations: 3.938 kB / 289.9 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.127e-05/0.01994, allocations: 81.77 kB / 289.9 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.01995, allocations: 0 / 289.9 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.01997, allocations: 12 kB / 290 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01997, allocations: 3.984 kB / 290 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.01998, allocations: 8 kB / 290 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01998, allocations: 0 / 290 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.01998, allocations: 4 kB / 290 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.487e-05/0.02004, allocations: 85.84 kB / 290.1 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.02006, allocations: 11.94 kB / 290.1 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.02007, allocations: 0 / 290.1 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.576e-05/0.0201, allocations: 3.984 kB / 290.1 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.02012, allocations: 8 kB / 290.1 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.02013, allocations: 7.984 kB / 290.1 MB, free: 68 kB / 266.7 MB Notification: Performance of sorting global known variables: time 1.435e-05/0.02014, allocations: 16.84 kB / 290.1 MB, free: 48 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02014, allocations: 4 kB / 290.1 MB, free: 44 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.09771/0.1179, allocations: 321.1 kB / 290.4 MB, free: 21.34 MB / 266.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.001121/0.119, allocations: 0.6309 MB / 291.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.1191, allocations: 31.19 kB / 291.1 MB, free: 21.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1191, allocations: 1.156 kB / 291.1 MB, free: 21.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.669e-05/0.1191, allocations: 25.34 kB / 291.1 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1193, allocations: 13.44 kB / 291.1 MB, free: 21.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.1198, allocations: 166.2 kB / 291.3 MB, free: 21.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.587e-05/0.1199, allocations: 66.84 kB / 291.4 MB, free: 21.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.791e-05/0.12, allocations: 45.48 kB / 291.4 MB, free: 21.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.325e-05/0.12, allocations: 78.73 kB / 291.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.12, allocations: 0 / 291.5 MB, free: 21.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01488/0.1349, allocations: 10.75 MB / 302.2 MB, free: 18.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.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: 3.495931876357645]