Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0009808/0.0009808, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001243/0.001243, allocations: 161 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9324/0.9324, allocations: 177.2 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.545e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.004059/0.004095, allocations: 1.395 MB / 274.4 MB, free: 132 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.01415, allocations: 12.01 MB / 286.4 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.01418, allocations: 0 / 286.4 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.01421, allocations: 7.922 kB / 286.4 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.01644, allocations: 1.049 MB / 287.4 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.0177, allocations: 0.6525 MB / 288.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.956e-05/0.0178, allocations: 67.64 kB / 288.1 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.01783, allocations: 7.984 kB / 288.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.01789, allocations: 35.91 kB / 288.2 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.01796, allocations: 23.97 kB / 288.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.01797, allocations: 0 / 288.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.01981, allocations: 1.51 MB / 289.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.01983, allocations: 11.97 kB / 289.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.01986, allocations: 19.94 kB / 289.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1064/0.1263, allocations: 1.237 MB / 291 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1263, allocations: 4.625 kB / 291 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1263, allocations: 0 / 291 MB, free: 17.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1263, allocations: 0 / 291 MB, free: 17.39 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.0007479/0.127, allocations: 0.5719 MB / 291.6 MB, free: 16.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1271, allocations: 10.66 kB / 291.6 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1272, allocations: 11.62 kB / 291.6 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.58e-05/0.1273, allocations: 126.1 kB / 291.7 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1273, allocations: 2.531 kB / 291.7 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1273, allocations: 5.188 kB / 291.7 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1275, allocations: 130.8 kB / 291.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1275, allocations: 2.641 kB / 291.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1275, allocations: 2.594 kB / 291.8 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1275, allocations: 4.844 kB / 291.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.822e-05/0.1276, allocations: 17.08 kB / 291.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.1277, allocations: 135.4 kB / 292 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.1279, allocations: 89.8 kB / 292.1 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.1279, allocations: 25.75 kB / 292.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003555/0.1315, allocations: 1.504 MB / 293.6 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1315, allocations: 43.88 kB / 293.7 MB, free: 16.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1315, allocations: 0 / 293.7 MB, free: 16.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001998/0.1317, allocations: 74.86 kB / 293.7 MB, free: 16.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.1317, allocations: 82.94 kB / 293.8 MB, free: 16.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.404e-05/0.1318, allocations: 172.3 kB / 294 MB, free: 16.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.1318, allocations: 29.58 kB / 294 MB, free: 15.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.879e-05/0.1318, allocations: 129.8 kB / 294.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1319, allocations: 23.17 kB / 294.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.1319, allocations: 26.66 kB / 294.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.1319, allocations: 496.2 kB / 294.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.132, allocations: 13.52 kB / 294.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.85e-05/0.132, allocations: 23.58 kB / 294.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.132, allocations: 42.55 kB / 294.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.132, allocations: 0 / 294.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.45e-05/0.1321, allocations: 61.72 kB / 294.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1322, allocations: 6.25 kB / 294.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1322, allocations: 0.8594 kB / 294.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1322, allocations: 1.953 kB / 294.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.1322, allocations: 15.08 kB / 294.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1322, allocations: 8.375 kB / 294.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.1323, allocations: 2.938 kB / 294.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1323, allocations: 1.906 kB / 294.8 MB, free: 15.23 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.03e-05/0.1323, allocations: 160.5 kB / 295 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.1323, allocations: 7.734 kB / 295 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.1325, allocations: 106.1 kB / 295.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1325, allocations: 2 kB / 295.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1325, allocations: 8.5 kB / 295.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1325, allocations: 1.062 kB / 295.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.527e-05/0.1326, allocations: 120.5 kB / 295.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1326, allocations: 1.797 kB / 295.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.1326, allocations: 11.3 kB / 295.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1326, allocations: 0.9375 kB / 295.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1326, allocations: 5.641 kB / 295.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1326, allocations: 4.75 kB / 295.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1326, allocations: 1.812 kB / 295.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1327, allocations: 115.7 kB / 295.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.1328, allocations: 12.12 kB / 295.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.1328, allocations: 4.938 kB / 295.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.1328, allocations: 3.625 kB / 295.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1328, allocations: 10.44 kB / 295.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1329, allocations: 2.953 kB / 295.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.991e-05/0.1329, allocations: 141.3 kB / 295.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1329, allocations: 0 / 295.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006679/0.1336, allocations: 328.5 kB / 295.9 MB, free: 14.59 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.0009557/0.1345, allocations: 0.6193 MB / 296.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1346, allocations: 40.17 kB / 296.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1346, allocations: 1.188 kB / 296.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.1347, allocations: 20.61 kB / 296.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.1348, allocations: 13.69 kB / 296.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.1354, allocations: 188.8 kB / 296.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.377e-05/0.1354, allocations: 60.53 kB / 296.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.426e-05/0.1355, allocations: 50.84 kB / 296.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.1356, allocations: 20.52 kB / 296.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1356, allocations: 0 / 296.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of Templates: time 0.01303/0.1486, allocations: 11.47 MB / 308.4 MB, free: 9.988 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6197685287334025]