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.0008888/0.0008888, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009166/0.0009166, allocations: 169.3 kB / 25.33 MB, free: 9.465 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.8255/0.8255, allocations: 158.6 MB / 187.2 MB, free: 2.488 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.873e-06/1.873e-06, allocations: 0 / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/2e-05, allocations: 2.312 kB / 251 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00164/0.00166, allocations: 1.392 MB / 252.4 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01994/0.0216, allocations: 23.44 MB / 275.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.02163, allocations: 0 / 275.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.02175, allocations: 7.922 kB / 275.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.03298, allocations: 5.687 MB / 281.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.03352, allocations: 362.4 kB / 281.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.03362, allocations: 83.62 kB / 282 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.532e-05/0.03366, allocations: 4 kB / 282 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.03372, allocations: 51.88 kB / 282.1 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.0338, allocations: 31.89 kB / 282.1 MB, free: 4.418 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.03382, allocations: 4 kB / 282.1 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009516/0.04333, allocations: 8.284 MB / 290.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.04337, allocations: 8 kB / 290.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.0434, allocations: 27.91 kB / 290.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005425/0.04883, allocations: 5.453 MB / 295.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.04883, allocations: 0 / 295.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.04883, allocations: 0 / 295.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.04884, allocations: 0 / 295.9 MB, free: 6.617 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.001419/0.05026, allocations: 0.9481 MB / 296.8 MB, free: 5.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.05029, allocations: 11.98 kB / 296.8 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.05034, allocations: 12.89 kB / 296.8 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.05046, allocations: 132.5 kB / 297 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.05048, allocations: 8.375 kB / 297 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.05049, allocations: 3.938 kB / 297 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.05065, allocations: 129.2 kB / 297.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.05066, allocations: 0 / 297.1 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.05067, allocations: 4 kB / 297.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.05068, allocations: 7.938 kB / 297.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.05072, allocations: 19.92 kB / 297.1 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.05087, allocations: 128.4 kB / 297.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.05109, allocations: 94.2 kB / 297.3 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.05112, allocations: 27.36 kB / 297.4 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.05118, allocations: 19.92 kB / 297.4 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.0512, allocations: 37.39 kB / 297.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.52e-07/0.0512, allocations: 0 / 297.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001693/0.05137, allocations: 73.56 kB / 297.5 MB, free: 4.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.0514, allocations: 81.11 kB / 297.6 MB, free: 4.691 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.05149, allocations: 185.9 kB / 297.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.05151, allocations: 33.7 kB / 297.8 MB, free: 4.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.05154, allocations: 134.9 kB / 297.9 MB, free: 4.316 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.05158, allocations: 23.8 kB / 297.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.0516, allocations: 23.38 kB / 298 MB, free: 4.262 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.05171, allocations: 496.1 kB / 298.5 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.14e-05/0.05173, allocations: 8 kB / 298.5 MB, free: 3.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.05175, allocations: 27.36 kB / 298.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.05181, allocations: 35.31 kB / 298.5 MB, free: 3.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.05181, allocations: 0 / 298.5 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.6e-05/0.05189, allocations: 69.56 kB / 298.6 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.05191, allocations: 14.95 kB / 298.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.05191, allocations: 0 / 298.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.05193, allocations: 0 / 298.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.05197, allocations: 8 kB / 298.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.05198, allocations: 4 kB / 298.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.052, allocations: 3.953 kB / 298.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.052, allocations: 4 kB / 298.6 MB, free: 3.574 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 6.339e-05/0.05207, allocations: 160.6 kB / 298.8 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.05208, allocations: 11.94 kB / 298.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.05221, allocations: 78.12 kB / 298.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.05221, allocations: 0 / 298.9 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.05222, allocations: 4 kB / 298.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.05222, allocations: 3.984 kB / 298.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.656e-05/0.0523, allocations: 128.5 kB / 299 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.0523, allocations: 0 / 299 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.05233, allocations: 19.92 kB / 299 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.05233, allocations: 7.969 kB / 299 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.05234, allocations: 3.938 kB / 299 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.05234, allocations: 4 kB / 299 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.05234, allocations: 4 kB / 299 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.854e-05/0.05244, allocations: 104.2 kB / 299.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.05247, allocations: 15.94 kB / 299.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.05248, allocations: 3.938 kB / 299.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.329e-05/0.05252, allocations: 7.984 kB / 299.2 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.05255, allocations: 4 kB / 299.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.05256, allocations: 7.984 kB / 299.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.05261, allocations: 143.2 kB / 299.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05261, allocations: 3.938 kB / 299.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001157/0.05377, allocations: 0.9353 MB / 300.3 MB, free: 1.859 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.002669/0.05644, allocations: 1.482 MB / 301.7 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.05654, allocations: 31.67 kB / 301.8 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.05654, allocations: 0 / 301.8 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.05657, allocations: 27.62 kB / 301.8 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.05674, allocations: 27.97 kB / 301.8 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.05731, allocations: 192.9 kB / 302 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1041/0.1614, allocations: 55.36 kB / 302.1 MB, free: 29.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.1614, allocations: 9.234 kB / 302.1 MB, free: 29.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.1615, allocations: 17.23 kB / 302.1 MB, free: 29.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1615, allocations: 0 / 302.1 MB, free: 29.04 MB / 282.7 MB Notification: Performance of Templates: time 0.02826/0.1898, allocations: 29.58 MB / 331.7 MB, free: 18.04 MB / 282.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: 5.6725290678441525]