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.00102/0.00102, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.0008435/0.0008435, allocations: 153.7 kB / 24.8 MB, free: 9.289 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.9084/0.9084, allocations: 173.3 MB / 201.4 MB, free: 9.242 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.483e-06/1.483e-06, allocations: 0 / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.87e-05, allocations: 2.312 kB / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002395/0.002414, allocations: 1.382 MB / 269.8 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00876/0.01117, allocations: 11.8 MB / 281.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.01121, allocations: 0 / 281.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.01123, allocations: 7.922 kB / 281.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.01316, allocations: 1.057 MB / 282.6 MB, free: 7.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.01416, allocations: 0.6564 MB / 283.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.864e-05/0.01424, allocations: 67.64 kB / 283.4 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.682e-05/0.01427, allocations: 4 kB / 283.4 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.01432, allocations: 43.89 kB / 283.4 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.01439, allocations: 27.95 kB / 283.4 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.0144, allocations: 7.938 kB / 283.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.01602, allocations: 1.486 MB / 284.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.01603, allocations: 11.97 kB / 284.9 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.01605, allocations: 23.92 kB / 285 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.01724, allocations: 1.243 MB / 286.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01724, allocations: 0 / 286.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01724, allocations: 0 / 286.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.01725, allocations: 4 kB / 286.2 MB, free: 4.332 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.0004581/0.0177, allocations: 0.5767 MB / 286.8 MB, free: 3.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.01774, allocations: 12.91 kB / 286.8 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.813e-05/0.01781, allocations: 12.89 kB / 286.8 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.962e-05/0.01789, allocations: 124.5 kB / 286.9 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.01791, allocations: 384 / 286.9 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.01792, allocations: 4.375 kB / 286.9 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.01805, allocations: 129.7 kB / 287.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.01806, allocations: 4.125 kB / 287.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.01807, allocations: 12.12 kB / 287.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.01807, allocations: 0 / 287.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.0181, allocations: 15.97 kB / 287.1 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.0182, allocations: 112.9 kB / 287.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.01835, allocations: 90.17 kB / 287.3 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.01837, allocations: 19.44 kB / 287.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002411/0.02078, allocations: 1.437 MB / 288.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.02081, allocations: 41.38 kB / 288.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.02081, allocations: 0 / 288.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001378/0.02095, allocations: 65.95 kB / 288.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.02098, allocations: 89.03 kB / 288.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.02105, allocations: 177.8 kB / 289.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.02106, allocations: 25.7 kB / 289.1 MB, free: 1.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.02109, allocations: 134.9 kB / 289.3 MB, free: 1.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.02112, allocations: 19.8 kB / 289.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.02115, allocations: 31.34 kB / 289.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.02125, allocations: 492.1 kB / 289.8 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.02126, allocations: 11.98 kB / 289.8 MB, free: 496 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.02129, allocations: 27.36 kB / 289.8 MB, free: 460 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.02132, allocations: 31.34 kB / 289.9 MB, free: 420 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.02133, allocations: 0 / 289.9 MB, free: 420 kB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.042e-05/0.0214, allocations: 69.58 kB / 289.9 MB, free: 344 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.02141, allocations: 4 kB / 290 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.02141, allocations: 4 kB / 290 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.02142, allocations: 0 / 290 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.285e-05/0.02146, allocations: 11.98 kB / 290 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.02147, allocations: 7.875 kB / 290 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.02149, allocations: 4.125 kB / 290 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.0215, allocations: 4 kB / 290 MB, free: 308 kB / 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 5.535e-05/0.02155, allocations: 156.6 kB / 290.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.02156, allocations: 11.98 kB / 290.1 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.02168, allocations: 93.53 kB / 290.2 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.02169, allocations: 4 kB / 290.2 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.02169, allocations: 0 / 290.2 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.02169, allocations: 3.938 kB / 290.2 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0979/0.1196, allocations: 98.66 kB / 290.3 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1196, allocations: 0.7188 kB / 290.3 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.1197, allocations: 17.02 kB / 290.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1197, allocations: 0 / 290.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.1197, allocations: 4.656 kB / 290.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1197, allocations: 0 / 290.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1197, allocations: 1.594 kB / 290.4 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.1198, allocations: 107.2 kB / 290.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1198, allocations: 14.53 kB / 290.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.1198, allocations: 0.8125 kB / 290.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.1199, allocations: 4.969 kB / 290.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1199, allocations: 13.66 kB / 290.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1199, allocations: 3.109 kB / 290.5 MB, free: 21.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.1199, allocations: 138.9 kB / 290.6 MB, free: 20.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1199, allocations: 0 / 290.6 MB, free: 20.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000674/0.1206, allocations: 325.9 kB / 291 MB, free: 20.96 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.0008465/0.1215, allocations: 0.6429 MB / 291.6 MB, free: 20.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.1215, allocations: 35.09 kB / 291.6 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1215, allocations: 1.062 kB / 291.6 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.1216, allocations: 23.53 kB / 291.7 MB, free: 20.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.1217, allocations: 17.72 kB / 291.7 MB, free: 20.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.1222, allocations: 173.5 kB / 291.8 MB, free: 20.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.069e-05/0.1222, allocations: 59.66 kB / 291.9 MB, free: 20.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.322e-05/0.1223, allocations: 49.84 kB / 292 MB, free: 20.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.1223, allocations: 100.3 kB / 292.1 MB, free: 20.56 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1223, allocations: 0 / 292.1 MB, free: 20.56 MB / 266.7 MB Notification: Performance of Templates: time 0.01135/0.1337, allocations: 10.83 MB / 302.9 MB, free: 17.67 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.466424140147865]