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.0009703/0.0009703, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001012/0.001012, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 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 0.9324/0.9324, allocations: 177 MB / 205.2 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.462e-06/1.462e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.908e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001583/0.001602, allocations: 1.399 MB / 274.4 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.01086, allocations: 11.97 MB / 286.3 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.01091, allocations: 0 / 286.3 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.01094, allocations: 11.92 kB / 286.4 MB, free: 4.297 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.0129, allocations: 1.049 MB / 287.4 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.01385, allocations: 0.6563 MB / 288.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.01395, allocations: 63.64 kB / 288.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.01399, allocations: 8 kB / 288.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.01406, allocations: 35.95 kB / 288.2 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.01414, allocations: 35.89 kB / 288.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.01415, allocations: 0 / 288.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.01572, allocations: 1.49 MB / 289.7 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.01573, allocations: 15.92 kB / 289.7 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.01576, allocations: 19.98 kB / 289.7 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1053/0.121, allocations: 1.236 MB / 291 MB, free: 17.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.121, allocations: 0 / 291 MB, free: 17.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.121, allocations: 1.062 kB / 291 MB, free: 17.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.121, allocations: 0.5938 kB / 291 MB, free: 17.56 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.0006878/0.1217, allocations: 0.5772 MB / 291.5 MB, free: 17.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1218, allocations: 14.58 kB / 291.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.1219, allocations: 14.08 kB / 291.6 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.122, allocations: 124.8 kB / 291.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.122, allocations: 3.219 kB / 291.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.122, allocations: 4.688 kB / 291.7 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1221, allocations: 133.2 kB / 291.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.1222, allocations: 3.375 kB / 291.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1222, allocations: 2.594 kB / 291.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1222, allocations: 5.062 kB / 291.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.1222, allocations: 13.77 kB / 291.9 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.1223, allocations: 135.1 kB / 292 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1225, allocations: 90.34 kB / 292.1 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.1226, allocations: 22.83 kB / 292.1 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003201/0.1258, allocations: 1.514 MB / 293.6 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1258, allocations: 36.3 kB / 293.6 MB, free: 16.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1258, allocations: 0 / 293.6 MB, free: 16.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001984/0.126, allocations: 75.72 kB / 293.7 MB, free: 16.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.126, allocations: 82.84 kB / 293.8 MB, free: 16.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.1261, allocations: 174.3 kB / 294 MB, free: 16.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1261, allocations: 29.7 kB / 294 MB, free: 16.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.1261, allocations: 134.2 kB / 294.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.1261, allocations: 21.94 kB / 294.2 MB, free: 16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.1262, allocations: 22.09 kB / 294.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.1262, allocations: 0.4889 MB / 294.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.1262, allocations: 7.781 kB / 294.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.1263, allocations: 27.64 kB / 294.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.1263, allocations: 34.97 kB / 294.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1263, allocations: 0 / 294.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.334e-05/0.1264, allocations: 68.72 kB / 294.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1264, allocations: 4.375 kB / 294.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1264, allocations: 1.25 kB / 294.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1264, allocations: 1.188 kB / 294.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.1265, allocations: 17.42 kB / 294.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1265, allocations: 5.031 kB / 294.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.1265, allocations: 1.766 kB / 294.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1265, allocations: 3.188 kB / 294.8 MB, free: 15.4 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.797e-05/0.1266, allocations: 164.1 kB / 295 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.1266, allocations: 12.7 kB / 295 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.1268, allocations: 95.05 kB / 295.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1268, allocations: 1.062 kB / 295.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1268, allocations: 5.125 kB / 295.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1268, allocations: 0.5156 kB / 295.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.524e-05/0.1268, allocations: 124.3 kB / 295.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1268, allocations: 1.125 kB / 295.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.1269, allocations: 10.81 kB / 295.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1269, allocations: 5.781 kB / 295.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1269, allocations: 2.047 kB / 295.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1269, allocations: 0 / 295.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1269, allocations: 4.484 kB / 295.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.487e-05/0.127, allocations: 112.8 kB / 295.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.127, allocations: 21.27 kB / 295.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.127, allocations: 5.609 kB / 295.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.1271, allocations: 3.188 kB / 295.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1271, allocations: 13.69 kB / 295.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1271, allocations: 3.078 kB / 295.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.872e-05/0.1271, allocations: 140.8 kB / 295.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1271, allocations: 0 / 295.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000605/0.1277, allocations: 324.4 kB / 295.9 MB, free: 14.75 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.000826/0.1286, allocations: 0.6171 MB / 296.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.1287, allocations: 34.16 kB / 296.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1287, allocations: 4 kB / 296.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.1287, allocations: 32.42 kB / 296.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1289, allocations: 18.23 kB / 296.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.1294, allocations: 177.3 kB / 296.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.304e-05/0.1294, allocations: 63.2 kB / 296.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.254e-05/0.1295, allocations: 42.45 kB / 296.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1295, allocations: 23.16 kB / 296.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1295, allocations: 0 / 296.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of Templates: time 0.01015/0.1397, allocations: 9.264 MB / 306.1 MB, free: 11.63 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] 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","",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.933912290027365]