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.001041/0.001041, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001475/0.001475, allocations: 150.1 kB / 24.81 MB, free: 9.285 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.893/0.893, allocations: 173.4 MB / 201.4 MB, free: 9.184 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.232e-06/1.232e-06, allocations: 0 / 268.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.68e-05, allocations: 2.312 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001787/0.001804, allocations: 1.393 MB / 269.8 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.119/0.1208, allocations: 22.92 MB / 292.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.1208, allocations: 0.6875 kB / 292.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.121, allocations: 7.859 kB / 292.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.1321, allocations: 6.013 MB / 298.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.1328, allocations: 367.7 kB / 299.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.1329, allocations: 83.2 kB / 299.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.1329, allocations: 4.203 kB / 299.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.133, allocations: 46.03 kB / 299.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.1331, allocations: 31.42 kB / 299.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1331, allocations: 8.156 kB / 299.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/0.1463, allocations: 8.39 MB / 307.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.1463, allocations: 19.8 kB / 307.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.1464, allocations: 21.38 kB / 307.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008894/0.1553, allocations: 5.493 MB / 313.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1553, allocations: 2.344 kB / 313.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1553, allocations: 0 / 313.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1553, allocations: 0 / 313.2 MB, free: 8.559 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.001817/0.1571, allocations: 0.9532 MB / 314.1 MB, free: 7.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1571, allocations: 8.922 kB / 314.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.1572, allocations: 8.891 kB / 314.2 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.39e-05/0.1573, allocations: 128.5 kB / 314.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1573, allocations: 8.75 kB / 314.3 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.1573, allocations: 7.938 kB / 314.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1574, allocations: 131.8 kB / 314.4 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1574, allocations: 3.984 kB / 314.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1574, allocations: 6.906 kB / 314.4 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1574, allocations: 0 / 314.4 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/0.1575, allocations: 8 kB / 314.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.1576, allocations: 120.5 kB / 314.6 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1577, allocations: 93.05 kB / 314.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.1578, allocations: 21.08 kB / 314.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.1578, allocations: 19.34 kB / 314.7 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1578, allocations: 37.39 kB / 314.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1578, allocations: 0 / 314.7 MB, free: 6.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001512/0.158, allocations: 68.98 kB / 314.8 MB, free: 6.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.158, allocations: 85.09 kB / 314.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.1581, allocations: 173.8 kB / 315 MB, free: 6.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.1581, allocations: 33.7 kB / 315.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.1581, allocations: 133.7 kB / 315.2 MB, free: 6.383 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1581, allocations: 30.67 kB / 315.2 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.1582, allocations: 19.38 kB / 315.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.1582, allocations: 498.1 kB / 315.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.1582, allocations: 4 kB / 315.7 MB, free: 5.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.296e-05/0.1582, allocations: 24.78 kB / 315.8 MB, free: 5.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.1583, allocations: 36.58 kB / 315.8 MB, free: 5.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1583, allocations: 4 kB / 315.8 MB, free: 5.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.801e-05/0.1584, allocations: 64.67 kB / 315.9 MB, free: 5.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1584, allocations: 8.625 kB / 315.9 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1584, allocations: 3.938 kB / 315.9 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1584, allocations: 0 / 315.9 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.1584, allocations: 11.98 kB / 315.9 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.1584, allocations: 4 kB / 315.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.1585, allocations: 4 kB / 315.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1585, allocations: 4 kB / 315.9 MB, free: 5.656 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.13e-05/0.1585, allocations: 155.6 kB / 316.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.1585, allocations: 7.953 kB / 316.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.1587, allocations: 88.69 kB / 316.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1587, allocations: 0 / 316.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1587, allocations: 3.938 kB / 316.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1587, allocations: 0 / 316.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.031e-05/0.1587, allocations: 108.1 kB / 316.3 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1587, allocations: 0.875 kB / 316.3 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.1588, allocations: 8 kB / 316.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1588, allocations: 0 / 316.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1588, allocations: 8 kB / 316.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1588, allocations: 3.984 kB / 316.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1588, allocations: 7.938 kB / 316.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.071e-05/0.1589, allocations: 106.6 kB / 316.4 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.1589, allocations: 15.94 kB / 316.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.1589, allocations: 0 / 316.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.159, allocations: 4 kB / 316.4 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.159, allocations: 7.922 kB / 316.4 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.159, allocations: 4 kB / 316.4 MB, free: 5.082 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.159, allocations: 139.9 kB / 316.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.159, allocations: 0 / 316.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001776/0.1608, allocations: 0.9469 MB / 317.5 MB, free: 3.996 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.003069/0.1639, allocations: 1.516 MB / 319 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.894e-05/0.164, allocations: 39.17 kB / 319.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.164, allocations: 0 / 319.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.561e-05/0.164, allocations: 18.5 kB / 319.1 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1642, allocations: 26.92 kB / 319.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.1647, allocations: 181.7 kB / 319.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.13e-05/0.1647, allocations: 60.36 kB / 319.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.1648, allocations: 15.98 kB / 319.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.1649, allocations: 98.17 kB / 319.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1649, allocations: 0 / 319.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of Templates: time 0.03721/0.2021, allocations: 32.36 MB / 351.8 MB, free: 1.797 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.623132617678493]