Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009004/0.0009004, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.0009127/0.0009127, allocations: 171.7 kB / 24.92 MB, free: 8.727 MB / 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.9289/0.9289, allocations: 177.1 MB / 205.3 MB, free: 5.055 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.999e-05, allocations: 2.312 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00169/0.00171, allocations: 1.457 MB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.118/0.1197, allocations: 23.27 MB / 298.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.1197, allocations: 1.125 kB / 298.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1199, allocations: 8.672 kB / 298.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.1303, allocations: 5.517 MB / 303.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.1309, allocations: 368.5 kB / 304.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.131, allocations: 85.77 kB / 304.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.131, allocations: 5.516 kB / 304.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.1311, allocations: 41.8 kB / 304.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.1312, allocations: 34.52 kB / 304.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1312, allocations: 2.938 kB / 304.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.1418, allocations: 8.906 MB / 313.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.1419, allocations: 10.67 kB / 313.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.1419, allocations: 25.27 kB / 313.2 MB, free: 9.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005921/0.1478, allocations: 5.507 MB / 318.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1478, allocations: 7.922 kB / 318.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1478, allocations: 0 / 318.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1478, allocations: 0 / 318.7 MB, free: 3.648 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.001114/0.1489, allocations: 0.839 MB / 319.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.149, allocations: 8.031 kB / 319.6 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.149, allocations: 8.938 kB / 319.6 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.1491, allocations: 124.5 kB / 319.7 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1491, allocations: 4.75 kB / 319.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.1491, allocations: 4 kB / 319.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1492, allocations: 137.8 kB / 319.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1492, allocations: 0 / 319.8 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1492, allocations: 4 kB / 319.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1492, allocations: 0 / 319.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.1492, allocations: 17.66 kB / 319.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.208e-05/0.1493, allocations: 79.55 kB / 319.9 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1495, allocations: 81.64 kB / 320 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.1495, allocations: 13.72 kB / 320 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.1495, allocations: 11.98 kB / 320 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.1495, allocations: 34.56 kB / 320.1 MB, free: 2.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.1495, allocations: 0 / 320.1 MB, free: 2.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001019/0.1496, allocations: 73.44 kB / 320.1 MB, free: 2.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.354e-05/0.1496, allocations: 77.11 kB / 320.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.404e-05/0.1497, allocations: 136.3 kB / 320.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.1497, allocations: 29.64 kB / 320.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-06/0.1497, allocations: 84.75 kB / 320.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.1497, allocations: 23.8 kB / 320.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.1497, allocations: 21.7 kB / 320.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.47e-05/0.1498, allocations: 318.8 kB / 320.8 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1498, allocations: 6.828 kB / 320.8 MB, free: 1.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.1498, allocations: 17.7 kB / 320.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.1498, allocations: 39.34 kB / 320.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1498, allocations: 0 / 320.9 MB, free: 1.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.935e-05/0.1499, allocations: 59.27 kB / 320.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.1499, allocations: 4 kB / 320.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1499, allocations: 0 / 320.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1499, allocations: 7.938 kB / 320.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.1499, allocations: 8 kB / 321 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.15, allocations: 0 / 321 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.15, allocations: 4 kB / 321 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.15, allocations: 11.98 kB / 321 MB, free: 1.164 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 3.306e-05/0.15, allocations: 112.6 kB / 321.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.15, allocations: 8 kB / 321.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.099e-05/0.1501, allocations: 76.28 kB / 321.2 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1501, allocations: 3.938 kB / 321.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.1501, allocations: 0 / 321.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1501, allocations: 0 / 321.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.566e-05/0.1502, allocations: 77.88 kB / 321.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1502, allocations: 0 / 321.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.1502, allocations: 8 kB / 321.2 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1502, allocations: 8.875 kB / 321.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.1502, allocations: 0 / 321.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.1502, allocations: 0 / 321.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1502, allocations: 0 / 321.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.239e-05/0.1502, allocations: 103 kB / 321.4 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.1503, allocations: 11.92 kB / 321.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.1503, allocations: 4 kB / 321.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.761e-05/0.1503, allocations: 4 kB / 321.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.1503, allocations: 11.92 kB / 321.4 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1503, allocations: 3.938 kB / 321.4 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.822e-05/0.1504, allocations: 37.06 kB / 321.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1504, allocations: 0 / 321.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001145/0.1515, allocations: 0.9547 MB / 322.4 MB, free: 15.69 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.00243/0.1539, allocations: 1.517 MB / 323.9 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.581e-05/0.154, allocations: 30.47 kB / 323.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.154, allocations: 1 kB / 323.9 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.957e-05/0.154, allocations: 16.84 kB / 323.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.1541, allocations: 27.94 kB / 324 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.1546, allocations: 186.8 kB / 324.2 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.592e-05/0.1546, allocations: 67.28 kB / 324.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.1546, allocations: 11.98 kB / 324.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.1547, allocations: 71.36 kB / 324.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1547, allocations: 0 / 324.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of Templates: time 0.02872/0.1834, allocations: 31.88 MB / 356.2 MB, free: 13.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 4.36382108181715]