Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.0008921/0.0008921, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008252/0.0008252, allocations: 141.7 kB / 24.89 MB, free: 8.777 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.8702/0.8702, allocations: 173.4 MB / 201.5 MB, free: 8.758 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 268.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.76e-05, allocations: 2.312 kB / 268.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002004/0.002022, allocations: 1.403 MB / 269.9 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1178/0.1198, allocations: 23.18 MB / 293 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.1198, allocations: 1.781 kB / 293 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.1199, allocations: 9.469 kB / 293 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.1306, allocations: 6.049 MB / 299.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.1311, allocations: 377.8 kB / 299.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.1312, allocations: 78.23 kB / 299.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.1313, allocations: 4.266 kB / 299.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.1313, allocations: 41.58 kB / 299.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.1314, allocations: 37.78 kB / 299.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1314, allocations: 2.594 kB / 299.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009663/0.1411, allocations: 8.393 MB / 308 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.1411, allocations: 12.47 kB / 308 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.1411, allocations: 23.55 kB / 308.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006182/0.1473, allocations: 5.487 MB / 313.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1473, allocations: 0 / 313.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1473, allocations: 0 / 313.5 MB, free: 8.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.1473, allocations: 0 / 313.5 MB, free: 8.461 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.001517/0.1488, allocations: 0.8303 MB / 314.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1489, allocations: 8.922 kB / 314.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.1489, allocations: 8.922 kB / 314.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.905e-05/0.149, allocations: 132.3 kB / 314.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.149, allocations: 4.75 kB / 314.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.149, allocations: 4 kB / 314.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.733e-05/0.1491, allocations: 128.3 kB / 314.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1491, allocations: 7 kB / 314.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.1491, allocations: 0 / 314.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1491, allocations: 0 / 314.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.1492, allocations: 17.64 kB / 314.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.635e-05/0.1492, allocations: 79.5 kB / 314.8 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1494, allocations: 73.97 kB / 314.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.1494, allocations: 17.7 kB / 314.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.1494, allocations: 16 kB / 314.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.1494, allocations: 33.66 kB / 314.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.1494, allocations: 0 / 314.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 9.663e-05/0.1495, allocations: 63.19 kB / 315 MB, free: 6.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.1495, allocations: 85.09 kB / 315 MB, free: 6.824 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.561e-05/0.1496, allocations: 131.4 kB / 315.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-06/0.1496, allocations: 25.7 kB / 315.2 MB, free: 6.656 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.768e-06/0.1496, allocations: 92.05 kB / 315.3 MB, free: 6.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1496, allocations: 15.86 kB / 315.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.1496, allocations: 21.7 kB / 315.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.524e-05/0.1497, allocations: 315.3 kB / 315.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.1497, allocations: 10.81 kB / 315.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.1497, allocations: 23.89 kB / 315.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.1497, allocations: 27.36 kB / 315.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1497, allocations: 7.938 kB / 315.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.644e-05/0.1498, allocations: 62.05 kB / 315.8 MB, free: 6.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.1498, allocations: 8 kB / 315.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1498, allocations: 0 / 315.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1498, allocations: 3.938 kB / 315.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.1498, allocations: 10.91 kB / 315.8 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1498, allocations: 7.984 kB / 315.8 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.1499, allocations: 4.812 kB / 315.8 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.1499, allocations: 0 / 315.8 MB, free: 6.035 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.386e-05/0.1499, allocations: 116.7 kB / 315.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.1499, allocations: 7.891 kB / 315.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.15, allocations: 68.75 kB / 316 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.15, allocations: 7.938 kB / 316 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.15, allocations: 0 / 316 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.15, allocations: 0 / 316 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.847e-05/0.15, allocations: 86.69 kB / 316.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.15, allocations: 1.375 kB / 316.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.1501, allocations: 10.91 kB / 316.1 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.1501, allocations: 0 / 316.1 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.1501, allocations: 0 / 316.1 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1501, allocations: 7.984 kB / 316.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1501, allocations: 4 kB / 316.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.347e-05/0.1501, allocations: 94.55 kB / 316.2 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.1502, allocations: 7.984 kB / 316.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.1502, allocations: 3.75 kB / 316.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.605e-05/0.1502, allocations: 0 / 316.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.1502, allocations: 15.92 kB / 316.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1502, allocations: 0 / 316.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.004e-05/0.1502, allocations: 30.17 kB / 316.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1502, allocations: 0 / 316.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001367/0.1516, allocations: 0.9508 MB / 317.2 MB, free: 4.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.002361/0.154, allocations: 1.532 MB / 318.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.041e-05/0.154, allocations: 27.84 kB / 318.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.154, allocations: 0 / 318.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.021e-05/0.1541, allocations: 22.81 kB / 318.8 MB, free: 3.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.1542, allocations: 27.91 kB / 318.8 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.1546, allocations: 185 kB / 319 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.775e-05/0.1546, allocations: 63.34 kB / 319 MB, free: 2.809 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.1547, allocations: 14.98 kB / 319.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.1547, allocations: 75.36 kB / 319.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1547, allocations: 0 / 319.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of Templates: time 0.02784/0.1826, allocations: 31.64 MB / 350.8 MB, free: 3.113 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.442689855117351]