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.0009247/0.0009247, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001965, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001009/0.001009, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002244, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.793/0.793, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1181/0.911, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.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 2.014e-06/2.014e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.275e-05, allocations: 6.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001515/0.001528, allocations: 1.441 MB / 223.3 MB, free: 14.71 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.02031, allocations: 23.5 MB / 246.8 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.02034, allocations: 0 / 246.8 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.686e-05/0.0204, allocations: 3.938 kB / 246.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007754/0.02815, allocations: 5.168 MB / 251.9 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.02862, allocations: 362.4 kB / 252.3 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.02871, allocations: 75.66 kB / 252.4 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.094e-05/0.02874, allocations: 0 / 252.4 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.02882, allocations: 55.88 kB / 252.4 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/0.02889, allocations: 35.89 kB / 252.5 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.0289, allocations: 8 kB / 252.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008974/0.03787, allocations: 8.779 MB / 261.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.03791, allocations: 16 kB / 261.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.03793, allocations: 15.94 kB / 261.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00491/0.04284, allocations: 4.172 MB / 265.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.04286, allocations: 0 / 265.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.04286, allocations: 0 / 265.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.04287, allocations: 0 / 265.5 MB, free: 4.406 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.001434/0.04431, allocations: 1.182 MB / 266.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.04434, allocations: 8.031 kB / 266.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.04437, allocations: 8.922 kB / 266.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.04447, allocations: 120.6 kB / 266.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.04448, allocations: 8.375 kB / 266.8 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.04449, allocations: 11.92 kB / 266.8 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.04462, allocations: 130.3 kB / 266.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.04462, allocations: 0 / 266.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.04463, allocations: 0 / 266.9 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.04463, allocations: 4 kB / 266.9 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.04467, allocations: 13.66 kB / 266.9 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.799e-05/0.04475, allocations: 79.53 kB / 267 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.04492, allocations: 80.47 kB / 267.1 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.04495, allocations: 21.7 kB / 267.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.04499, allocations: 8 kB / 267.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.04501, allocations: 34.56 kB / 267.2 MB, free: 2.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.04501, allocations: 0 / 267.2 MB, free: 2.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001228/0.04513, allocations: 65.55 kB / 267.2 MB, free: 2.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.04516, allocations: 77.11 kB / 267.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.032e-05/0.04523, allocations: 136.3 kB / 267.4 MB, free: 2.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.04524, allocations: 25.7 kB / 267.5 MB, free: 2.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.04527, allocations: 92.12 kB / 267.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.0453, allocations: 19.8 kB / 267.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.04532, allocations: 21.69 kB / 267.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.04539, allocations: 314.8 kB / 267.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.04541, allocations: 6.828 kB / 267.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.04543, allocations: 25.69 kB / 267.9 MB, free: 1.723 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.04546, allocations: 31.36 kB / 268 MB, free: 1.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.04546, allocations: 0 / 268 MB, free: 1.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.372e-05/0.04552, allocations: 59.27 kB / 268 MB, free: 1.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.04553, allocations: 15.88 kB / 268 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.04554, allocations: 0 / 268 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.04554, allocations: 4 kB / 268 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.04559, allocations: 8 kB / 268 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.04559, allocations: 0 / 268 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.04561, allocations: 7.984 kB / 268 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.04561, allocations: 3.938 kB / 268.1 MB, free: 1.578 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.842e-05/0.04566, allocations: 116.7 kB / 268.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.04567, allocations: 4 kB / 268.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.175e-05/0.04576, allocations: 85.94 kB / 268.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.04576, allocations: 0 / 268.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.04576, allocations: 4 kB / 268.3 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.04577, allocations: 4.078 kB / 268.3 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.868e-05/0.04583, allocations: 77.81 kB / 268.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.04583, allocations: 4 kB / 268.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.04585, allocations: 8 kB / 268.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.04587, allocations: 7.984 kB / 268.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.04588, allocations: 0 / 268.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.04588, allocations: 8.062 kB / 268.4 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.04588, allocations: 4 kB / 268.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.04588, allocations: 4 kB / 268.4 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.668e-05/0.04595, allocations: 94.39 kB / 268.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.04596, allocations: 0 / 268.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/0.04599, allocations: 8 kB / 268.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.04602, allocations: 7.922 kB / 268.5 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.04603, allocations: 4 kB / 268.5 MB, free: 1.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.126e-05/0.04605, allocations: 27.66 kB / 268.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04605, allocations: 0 / 268.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001135/0.04718, allocations: 0.9353 MB / 269.4 MB, free: 120 kB / 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.002403/0.04958, allocations: 1.565 MB / 271 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.04966, allocations: 36.88 kB / 271 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.04966, allocations: 0 / 271 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/0.04968, allocations: 16.94 kB / 271.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.04979, allocations: 39.92 kB / 271.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.05089, allocations: 188.9 kB / 271.3 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.739e-05/0.05092, allocations: 59.34 kB / 271.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.05095, allocations: 19.77 kB / 271.4 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.05103, allocations: 71.36 kB / 271.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.05103, allocations: 4 kB / 271.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of Templates: time 0.1126/0.1636, allocations: 34.51 MB / 305.9 MB, free: 20.44 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 -ignoreHideResult -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.4008145686239]