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.0009052/0.0009052, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0008396/0.0008396, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.8692/0.8692, allocations: 173.3 MB / 201.1 MB, free: 9.328 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.312e-06/1.312e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201e-05/1.333e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00139/0.001403, allocations: 1.393 MB / 269.4 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1139/0.1153, allocations: 23.25 MB / 292.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.1153, allocations: 2.625 kB / 292.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.1154, allocations: 6.891 kB / 292.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.1257, allocations: 6.011 MB / 298.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.1262, allocations: 373.5 kB / 299 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1263, allocations: 80.03 kB / 299.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.16e-05/0.1263, allocations: 2.75 kB / 299.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.1264, allocations: 44.52 kB / 299.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.1265, allocations: 38.72 kB / 299.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1265, allocations: 4.062 kB / 299.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009047/0.1355, allocations: 8.394 MB / 307.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.1356, allocations: 18.08 kB / 307.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.1356, allocations: 20.95 kB / 307.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004448/0.1401, allocations: 5.486 MB / 313.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1401, allocations: 0 / 313.1 MB, free: 8.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1401, allocations: 4 kB / 313.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1401, allocations: 0 / 313.1 MB, free: 8.445 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.001114/0.1412, allocations: 0.958 MB / 314.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1412, allocations: 10.23 kB / 314.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.1413, allocations: 9.109 kB / 314.1 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.887e-05/0.1414, allocations: 128.2 kB / 314.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.1414, allocations: 6.75 kB / 314.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1414, allocations: 3.188 kB / 314.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1415, allocations: 136 kB / 314.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1415, allocations: 0 / 314.3 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1415, allocations: 10.28 kB / 314.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1415, allocations: 0 / 314.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.1416, allocations: 12.05 kB / 314.4 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.1417, allocations: 140.4 kB / 314.5 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1419, allocations: 87.11 kB / 314.6 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.1419, allocations: 27.36 kB / 314.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.1419, allocations: 8 kB / 314.6 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.142, allocations: 52.19 kB / 314.7 MB, free: 6.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.142, allocations: 4 kB / 314.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001534/0.1421, allocations: 66.42 kB / 314.7 MB, free: 6.922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/0.1421, allocations: 81.11 kB / 314.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.1422, allocations: 183.9 kB / 315 MB, free: 6.629 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.1422, allocations: 29.7 kB / 315 MB, free: 6.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.964e-05/0.1422, allocations: 130.9 kB / 315.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1422, allocations: 24.48 kB / 315.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.1423, allocations: 27.38 kB / 315.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.1423, allocations: 496.1 kB / 315.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.1423, allocations: 11.98 kB / 315.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.1423, allocations: 23.38 kB / 315.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.468e-05/0.1424, allocations: 41.98 kB / 315.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1424, allocations: 0 / 315.8 MB, free: 5.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.978e-05/0.1425, allocations: 60.45 kB / 315.8 MB, free: 5.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1425, allocations: 7.938 kB / 315.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1425, allocations: 0 / 315.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1425, allocations: 4 kB / 315.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.178e-05/0.1425, allocations: 15.08 kB / 315.9 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1425, allocations: 7.281 kB / 315.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.1426, allocations: 4 kB / 315.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1426, allocations: 0 / 315.9 MB, free: 5.723 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.144e-05/0.1426, allocations: 160.6 kB / 316 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1426, allocations: 11.89 kB / 316 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1427, allocations: 82.86 kB / 316.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1427, allocations: 3.938 kB / 316.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1427, allocations: 0 / 316.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1427, allocations: 0 / 316.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.271e-05/0.1428, allocations: 134.2 kB / 316.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1428, allocations: 0 / 316.3 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.1428, allocations: 11.98 kB / 316.3 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1428, allocations: 4 kB / 316.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1428, allocations: 7.938 kB / 316.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1428, allocations: 2.531 kB / 316.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1428, allocations: 0.875 kB / 316.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.819e-05/0.1429, allocations: 104.1 kB / 316.4 MB, free: 5.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.1429, allocations: 11.94 kB / 316.4 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.1429, allocations: 10.84 kB / 316.4 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.143, allocations: 11.83 kB / 316.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.143, allocations: 7.984 kB / 316.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.143, allocations: 0 / 316.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.876e-05/0.143, allocations: 147.5 kB / 316.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.143, allocations: 0 / 316.6 MB, free: 4.965 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001019/0.1441, allocations: 0.9469 MB / 317.5 MB, free: 4.016 MB / 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.002512/0.1466, allocations: 1.482 MB / 319 MB, free: 2.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.1467, allocations: 38.66 kB / 319 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1467, allocations: 0 / 319 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.1467, allocations: 26.78 kB / 319.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.1469, allocations: 25.03 kB / 319.1 MB, free: 2.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.1474, allocations: 185.7 kB / 319.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.234e-05/0.1474, allocations: 55.36 kB / 319.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.1474, allocations: 15.97 kB / 319.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1475, allocations: 20.5 kB / 319.4 MB, free: 2.238 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1475, allocations: 4 kB / 319.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of Templates: time 0.03007/0.1775, allocations: 33.73 MB / 353.1 MB, free: 0.5312 MB / 298.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.221715530380607]