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.0008873/0.0008873, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0008166/0.0008166, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.9182/0.9182, allocations: 173.4 MB / 202.3 MB, free: 8.277 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.603e-06/1.603e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.642e-05/2.802e-05, allocations: 3.031 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00255/0.002578, allocations: 1.397 MB / 270.6 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02834/0.03092, allocations: 22.93 MB / 293.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.03096, allocations: 0 / 293.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.03107, allocations: 11.92 kB / 293.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01319/0.04426, allocations: 5.984 MB / 299.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006914/0.04495, allocations: 386.2 kB / 299.9 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.04506, allocations: 79.62 kB / 300 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.04509, allocations: 0 / 300 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.04517, allocations: 47.88 kB / 300 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.112e-05/0.04526, allocations: 35.89 kB / 300.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.04528, allocations: 4 kB / 300.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.0579, allocations: 8.389 MB / 308.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.05794, allocations: 19.91 kB / 308.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.05797, allocations: 20 kB / 308.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006773/0.06474, allocations: 5.488 MB / 314 MB, free: 12.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.06475, allocations: 0 / 314 MB, free: 12.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.06475, allocations: 0 / 314 MB, free: 12.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.06475, allocations: 0 / 314 MB, free: 12.88 MB / 298.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.001499/0.06625, allocations: 0.9559 MB / 314.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.06629, allocations: 12.03 kB / 314.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.06633, allocations: 8.891 kB / 314.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.06645, allocations: 128.5 kB / 315.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.06646, allocations: 4.375 kB / 315.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.06648, allocations: 11.92 kB / 315.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.06665, allocations: 133.1 kB / 315.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.06666, allocations: 0 / 315.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.06667, allocations: 0 / 315.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.06667, allocations: 4 kB / 315.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.06672, allocations: 11.98 kB / 315.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.06686, allocations: 116.9 kB / 315.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.06707, allocations: 86.19 kB / 315.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.0671, allocations: 23.44 kB / 315.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.06715, allocations: 15.98 kB / 315.5 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.06717, allocations: 41.33 kB / 315.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.06718, allocations: 0 / 315.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001739/0.06735, allocations: 65.61 kB / 315.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.06739, allocations: 81.05 kB / 315.7 MB, free: 11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.06749, allocations: 181.9 kB / 315.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.06751, allocations: 29.7 kB / 315.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.06756, allocations: 134.9 kB / 316 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.06759, allocations: 23.8 kB / 316 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.06763, allocations: 27.36 kB / 316 MB, free: 10.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.06776, allocations: 496.1 kB / 316.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.06778, allocations: 4 kB / 316.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.06782, allocations: 35.34 kB / 316.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.403e-05/0.06788, allocations: 23.88 kB / 316.6 MB, free: 10 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.06788, allocations: 4 kB / 316.6 MB, free: 10 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001187/0.068, allocations: 69.55 kB / 316.7 MB, free: 9.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.06801, allocations: 7.938 kB / 316.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.06802, allocations: 8 kB / 316.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.06802, allocations: 0 / 316.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.06809, allocations: 12 kB / 316.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.06809, allocations: 3.938 kB / 316.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.06813, allocations: 4 kB / 316.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.06814, allocations: 3.984 kB / 316.7 MB, free: 9.887 MB / 298.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 7.577e-05/0.06821, allocations: 156.6 kB / 316.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.06824, allocations: 15.89 kB / 316.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.0684, allocations: 69.61 kB / 316.9 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.0684, allocations: 8 kB / 316.9 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.0684, allocations: 3.984 kB / 316.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.06841, allocations: 0 / 316.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.06851, allocations: 105.2 kB / 317 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.06851, allocations: 4 kB / 317.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.903e-05/0.06857, allocations: 15.98 kB / 317.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.06857, allocations: 0 / 317.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.06858, allocations: 3.938 kB / 317.1 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.06858, allocations: 7.938 kB / 317.1 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.06859, allocations: 3.984 kB / 317.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.06873, allocations: 112 kB / 317.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.06877, allocations: 15.94 kB / 317.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.06878, allocations: 0 / 317.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.06884, allocations: 3.938 kB / 317.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.06888, allocations: 7.984 kB / 317.2 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.06889, allocations: 8 kB / 317.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.382e-05/0.06895, allocations: 139.2 kB / 317.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.06895, allocations: 0 / 317.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001665/0.07061, allocations: 0.9469 MB / 318.3 MB, free: 8.203 MB / 298.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.003781/0.0744, allocations: 1.5 MB / 319.8 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001165/0.07451, allocations: 39.59 kB / 319.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.07451, allocations: 0 / 319.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.59e-05/0.07455, allocations: 27.56 kB / 319.9 MB, free: 6.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.07478, allocations: 24.64 kB / 319.9 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.07541, allocations: 181.8 kB / 320.1 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.07545, allocations: 55.36 kB / 320.1 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.65e-05/0.0755, allocations: 15.97 kB / 320.1 MB, free: 6.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.07561, allocations: 98.19 kB / 320.2 MB, free: 6.203 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.07561, allocations: 3.938 kB / 320.2 MB, free: 6.199 MB / 298.7 MB Notification: Performance of Templates: time 0.1619/0.2375, allocations: 32.35 MB / 352.6 MB, free: 49.11 MB / 314.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: 5.551549347117543]