Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000919/0.000919, allocations: 76.31 kB / 22.2 MB, free: 2.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 176.7 kB / 25.6 MB, free: 8.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8367/0.8367, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.123e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001466/0.001477, allocations: 1.386 MB / 252.9 MB, free: 5.859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.01886, allocations: 23.08 MB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.01889, allocations: 0 / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.328e-05/0.01898, allocations: 7.922 kB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007521/0.0265, allocations: 5.692 MB / 281.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.0269, allocations: 378.4 kB / 282 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.351e-05/0.02698, allocations: 83.56 kB / 282.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.614e-05/0.02701, allocations: 0 / 282.1 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.02706, allocations: 39.91 kB / 282.1 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.02713, allocations: 35.95 kB / 282.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.02714, allocations: 4 kB / 282.2 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007724/0.03487, allocations: 8.291 MB / 290.5 MB, free: 140 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.0349, allocations: 15.98 kB / 290.5 MB, free: 124 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.03492, allocations: 27.91 kB / 290.5 MB, free: 96 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004953/0.03987, allocations: 5.441 MB / 295.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.03988, allocations: 4 kB / 295.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.03988, allocations: 0 / 295.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.03988, allocations: 0 / 295.9 MB, free: 10.64 MB / 282.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.002252/0.04213, allocations: 0.9558 MB / 296.9 MB, free: 9.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.04218, allocations: 15.98 kB / 296.9 MB, free: 9.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.04223, allocations: 12.89 kB / 296.9 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.04234, allocations: 120.6 kB / 297 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.04236, allocations: 4.375 kB / 297 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.04238, allocations: 11.94 kB / 297.1 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.04254, allocations: 137.1 kB / 297.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.04255, allocations: 0 / 297.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.04256, allocations: 0 / 297.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.04256, allocations: 0 / 297.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.0426, allocations: 11.98 kB / 297.2 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.04276, allocations: 117 kB / 297.3 MB, free: 9.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.04296, allocations: 86.09 kB / 297.4 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.04299, allocations: 27.42 kB / 297.4 MB, free: 8.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.767e-05/0.04304, allocations: 8 kB / 297.4 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.04307, allocations: 45.27 kB / 297.5 MB, free: 8.926 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.04307, allocations: 0 / 297.5 MB, free: 8.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.000175/0.04325, allocations: 69.56 kB / 297.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.04328, allocations: 77.11 kB / 297.6 MB, free: 8.758 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.04338, allocations: 181.9 kB / 297.8 MB, free: 8.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.0434, allocations: 25.7 kB / 297.8 MB, free: 8.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.04345, allocations: 146.8 kB / 298 MB, free: 8.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.04349, allocations: 15.8 kB / 298 MB, free: 8.367 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.04353, allocations: 27.38 kB / 298 MB, free: 8.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.04368, allocations: 0.4884 MB / 298.5 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.351e-05/0.0437, allocations: 4 kB / 298.5 MB, free: 7.828 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.04373, allocations: 23.36 kB / 298.5 MB, free: 7.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.005e-05/0.04379, allocations: 39.67 kB / 298.6 MB, free: 7.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.04379, allocations: 0 / 298.6 MB, free: 7.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001094/0.0439, allocations: 61.67 kB / 298.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.04392, allocations: 7.938 kB / 298.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.04392, allocations: 0 / 298.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.04394, allocations: 4 kB / 298.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.044, allocations: 11.94 kB / 298.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.044, allocations: 0 / 298.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.04403, allocations: 7.953 kB / 298.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.04404, allocations: 7.922 kB / 298.7 MB, free: 7.645 MB / 282.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 8.062e-05/0.04412, allocations: 164.6 kB / 298.8 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.04414, allocations: 8.062 kB / 298.8 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.04428, allocations: 77.56 kB / 298.9 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.04429, allocations: 8 kB / 298.9 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.04429, allocations: 3.984 kB / 298.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.0443, allocations: 0 / 298.9 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.04441, allocations: 105.2 kB / 299 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.04441, allocations: 0 / 299 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.04445, allocations: 15.98 kB / 299 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.04446, allocations: 0 / 299 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.04446, allocations: 0 / 299 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.04447, allocations: 7.922 kB / 299 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.04447, allocations: 8 kB / 299.1 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.0446, allocations: 108 kB / 299.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.04463, allocations: 7.984 kB / 299.2 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.04464, allocations: 4 kB / 299.2 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.04469, allocations: 3.938 kB / 299.2 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.04472, allocations: 11.98 kB / 299.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.04473, allocations: 0 / 299.2 MB, free: 7.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.594e-05/0.04479, allocations: 139.2 kB / 299.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04479, allocations: 0 / 299.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001867/0.04665, allocations: 0.9353 MB / 300.3 MB, free: 5.98 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.003218/0.04987, allocations: 1.527 MB / 301.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.04998, allocations: 31.61 kB / 301.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.04998, allocations: 4 kB / 301.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.517e-05/0.05001, allocations: 23.61 kB / 301.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.05019, allocations: 27.97 kB / 301.9 MB, free: 4.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.05072, allocations: 181 kB / 302 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.05075, allocations: 55.36 kB / 302.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.194e-05/0.05079, allocations: 19.97 kB / 302.1 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.05087, allocations: 94.19 kB / 302.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.05087, allocations: 0 / 302.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of Templates: time 0.03282/0.0837, allocations: 35.17 MB / 337.4 MB, free: 0.7539 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.5198613540269434]