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.0009882/0.0009882, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001109/0.001109, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9075/0.9075, allocations: 177 MB / 205.2 MB, free: 5.527 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.452e-06/1.452e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.237e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001651/0.001673, allocations: 1.419 MB / 274.4 MB, free: 308 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1281/0.1297, allocations: 23.29 MB / 297.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.1298, allocations: 1.188 kB / 297.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.1299, allocations: 8.203 kB / 297.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.1415, allocations: 6.016 MB / 303.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.1421, allocations: 368.9 kB / 304.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.1422, allocations: 79.08 kB / 304.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.1422, allocations: 2.344 kB / 304.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.936e-05/0.1423, allocations: 48.8 kB / 304.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.1424, allocations: 35.28 kB / 304.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1424, allocations: 2.75 kB / 304.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009563/0.152, allocations: 8.418 MB / 312.7 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.152, allocations: 19.69 kB / 312.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.152, allocations: 23.61 kB / 312.7 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005199/0.1572, allocations: 5.501 MB / 318.2 MB, free: 3.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1572, allocations: 3.938 kB / 318.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1572, allocations: 0 / 318.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.1572, allocations: 0 / 318.2 MB, free: 3.91 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.001143/0.1584, allocations: 0.9636 MB / 319.2 MB, free: 2.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1584, allocations: 11.98 kB / 319.2 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.1585, allocations: 8.891 kB / 319.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.849e-05/0.1586, allocations: 140.5 kB / 319.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1586, allocations: 8.75 kB / 319.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.1586, allocations: 0 / 319.3 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.1587, allocations: 133.1 kB / 319.5 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1587, allocations: 5.016 kB / 319.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1587, allocations: 0 / 319.5 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1588, allocations: 4 kB / 319.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.007e-05/0.1588, allocations: 15.98 kB / 319.5 MB, free: 2.531 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.1589, allocations: 124.4 kB / 319.6 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1591, allocations: 102 kB / 319.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.1591, allocations: 19.44 kB / 319.7 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.1592, allocations: 15.98 kB / 319.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.1592, allocations: 41.33 kB / 319.8 MB, free: 2.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.1592, allocations: 0 / 319.8 MB, free: 2.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001632/0.1593, allocations: 73.56 kB / 319.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.1594, allocations: 77.11 kB / 319.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.1594, allocations: 187.8 kB / 320.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.1594, allocations: 37.64 kB / 320.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.922e-05/0.1594, allocations: 130.9 kB / 320.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1595, allocations: 19.84 kB / 320.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.1595, allocations: 23.36 kB / 320.3 MB, free: 1.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.68e-05/0.1595, allocations: 0.4883 MB / 320.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.1596, allocations: 8 kB / 320.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.1596, allocations: 27.92 kB / 320.8 MB, free: 1.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.45e-05/0.1596, allocations: 31.38 kB / 320.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1596, allocations: 0 / 320.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.231e-05/0.1597, allocations: 75 kB / 320.9 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1597, allocations: 11.94 kB / 321 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1597, allocations: 0 / 321 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1597, allocations: 0 / 321 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.1598, allocations: 8 kB / 321 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1598, allocations: 7.984 kB / 321 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1598, allocations: 0 / 321 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1598, allocations: 4 kB / 321 MB, free: 0.8672 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.814e-05/0.1598, allocations: 160.5 kB / 321.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.1598, allocations: 11.89 kB / 321.1 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.16, allocations: 88.14 kB / 321.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.16, allocations: 0 / 321.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.16, allocations: 4 kB / 321.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.16, allocations: 0 / 321.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.072e-05/0.16, allocations: 132.6 kB / 321.4 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.16, allocations: 0.5625 kB / 321.4 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.16, allocations: 12 kB / 321.4 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.16, allocations: 0 / 321.4 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1601, allocations: 6.75 kB / 321.4 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.1601, allocations: 0 / 321.4 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1601, allocations: 8 kB / 321.4 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.708e-05/0.1601, allocations: 108 kB / 321.5 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.1602, allocations: 16.56 kB / 321.5 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1602, allocations: 3.938 kB / 321.5 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.26e-05/0.1602, allocations: 4 kB / 321.5 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.1602, allocations: 3.984 kB / 321.5 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1602, allocations: 8 kB / 321.5 MB, free: 248 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.849e-05/0.1603, allocations: 143.2 kB / 321.7 MB, free: 104 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1603, allocations: 0 / 321.7 MB, free: 104 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001192/0.1615, allocations: 0.9624 MB / 322.6 MB, free: 15.14 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.002505/0.164, allocations: 1.47 MB / 324.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.1641, allocations: 35.61 kB / 324.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1641, allocations: 0 / 324.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.855e-05/0.1641, allocations: 23.67 kB / 324.2 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.1643, allocations: 16.55 kB / 324.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.1648, allocations: 186.9 kB / 324.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.1649, allocations: 64.89 kB / 324.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.594e-05/0.1649, allocations: 11.98 kB / 324.4 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.1649, allocations: 16.5 kB / 324.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1649, allocations: 0 / 324.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of Templates: time 0.02517/0.1901, allocations: 28.23 MB / 352.7 MB, free: 1.027 MB / 298.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: 5.231634646188468]