Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.0009413/0.0009413, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009834/0.0009834, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9028/0.9028, allocations: 177 MB / 205.2 MB, free: 5.039 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.426e-05, allocations: 5.266 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001458/0.001473, allocations: 1.418 MB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1229/0.1244, allocations: 23.26 MB / 298.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.1244, allocations: 0 / 298.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.304e-05/0.1245, allocations: 10 kB / 298.1 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009347/0.1339, allocations: 6.067 MB / 304.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.1343, allocations: 372.5 kB / 304.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.116e-05/0.1344, allocations: 77.69 kB / 304.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.7e-05/0.1344, allocations: 9.391 kB / 304.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.1345, allocations: 41.56 kB / 304.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.1345, allocations: 32.5 kB / 304.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1345, allocations: 4.125 kB / 304.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007896/0.1424, allocations: 8.414 MB / 313.1 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.1425, allocations: 15.97 kB / 313.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.1425, allocations: 23.92 kB / 313.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.1468, allocations: 5.503 MB / 318.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1468, allocations: 3.938 kB / 318.6 MB, free: 3.371 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1468, allocations: 0 / 318.6 MB, free: 3.371 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.1468, allocations: 3.938 kB / 318.6 MB, free: 3.367 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.0008853/0.1477, allocations: 0.839 MB / 319.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.1477, allocations: 11.98 kB / 319.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.1477, allocations: 4.938 kB / 319.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.805e-05/0.1478, allocations: 128.5 kB / 319.6 MB, free: 2.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1478, allocations: 4.75 kB / 319.6 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.1478, allocations: 8 kB / 319.6 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.374e-05/0.1479, allocations: 134.2 kB / 319.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-06/0.1479, allocations: 3.938 kB / 319.7 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.1479, allocations: 4.875 kB / 319.7 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1479, allocations: 4 kB / 319.8 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.1479, allocations: 13.64 kB / 319.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.237e-05/0.148, allocations: 71.56 kB / 319.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1481, allocations: 80.47 kB / 319.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.1482, allocations: 13.72 kB / 319.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.1482, allocations: 15.98 kB / 319.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.1482, allocations: 38.55 kB / 320 MB, free: 1.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 6.81e-07/0.1482, allocations: 0 / 320 MB, free: 1.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001/0.1483, allocations: 68.55 kB / 320 MB, free: 1.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.547e-05/0.1483, allocations: 77.11 kB / 320.1 MB, free: 1.695 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.438e-05/0.1484, allocations: 129.5 kB / 320.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.1484, allocations: 25.7 kB / 320.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-06/0.1484, allocations: 92.06 kB / 320.4 MB, free: 1.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.1484, allocations: 23.78 kB / 320.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1484, allocations: 13.72 kB / 320.4 MB, free: 1.387 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.482e-05/0.1485, allocations: 330.8 kB / 320.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.1485, allocations: 6.828 kB / 320.7 MB, free: 1.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/0.1485, allocations: 18.97 kB / 320.7 MB, free: 1.023 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.1485, allocations: 35.34 kB / 320.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1485, allocations: 0 / 320.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.381e-05/0.1486, allocations: 55.28 kB / 320.8 MB, free: 0.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/0.1486, allocations: 4 kB / 320.8 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1486, allocations: 7.281 kB / 320.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1486, allocations: 11.92 kB / 320.9 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.463e-05/0.1486, allocations: 8 kB / 320.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.1486, allocations: 0 / 320.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1486, allocations: 6.938 kB / 320.9 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1486, allocations: 4 kB / 320.9 MB, free: 0.8828 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.081e-05/0.1487, allocations: 108.7 kB / 321 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.1487, allocations: 15.92 kB / 321 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.611e-05/0.1488, allocations: 72 kB / 321.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1488, allocations: 3.938 kB / 321.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.1488, allocations: 4 kB / 321.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1488, allocations: 0 / 321.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.69e-05/0.1488, allocations: 74.52 kB / 321.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.1488, allocations: 0 / 321.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.1488, allocations: 15.92 kB / 321.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1488, allocations: 4 kB / 321.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.1488, allocations: 0 / 321.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.1488, allocations: 0 / 321.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.1488, allocations: 0 / 321.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.806e-05/0.1489, allocations: 98.38 kB / 321.3 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.1489, allocations: 11.94 kB / 321.3 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.1489, allocations: 4 kB / 321.3 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.094e-05/0.149, allocations: 7.984 kB / 321.3 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.149, allocations: 15.86 kB / 321.3 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.149, allocations: 0 / 321.3 MB, free: 408 kB / 266.7 MB Notification: Performance of sorting global known variables: time 1.76e-05/0.149, allocations: 24.25 kB / 321.3 MB, free: 380 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.149, allocations: 3.938 kB / 321.3 MB, free: 376 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001034/0.15, allocations: 0.9508 MB / 322.3 MB, free: 15.41 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.002393/0.1524, allocations: 1.531 MB / 323.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.779e-05/0.1525, allocations: 24.78 kB / 323.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1525, allocations: 0 / 323.8 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.938e-05/0.1525, allocations: 16.86 kB / 323.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.1526, allocations: 25.14 kB / 323.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.153, allocations: 194.8 kB / 324.1 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.56e-05/0.1531, allocations: 56.91 kB / 324.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.212e-05/0.1531, allocations: 15.17 kB / 324.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.1532, allocations: 79.3 kB / 324.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1532, allocations: 4 kB / 324.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of Templates: time 0.02634/0.1795, allocations: 31.86 MB / 356.1 MB, free: 13.56 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.558798703830689]