Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001285/0.001285, allocations: 88.48 kB / 20.95 MB, free: 484 kB / 14.72 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.001459/0.001459, allocations: 149.2 kB / 24.24 MB, free: 3.527 MB / 14.72 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 1.365/1.365, allocations: 173.3 MB / 200.8 MB, free: 12.76 MB / 190.1 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 267.3 MB, free: 10.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.787e-05, allocations: 2.312 kB / 267.3 MB, free: 10.24 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00287/0.002898, allocations: 1.339 MB / 268.6 MB, free: 8.887 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.01834, allocations: 10.68 MB / 279.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.01839, allocations: 0 / 279.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.01842, allocations: 7.922 kB / 279.3 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.02209, allocations: 1.045 MB / 280.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.02425, allocations: 0.6563 MB / 281 MB, free: 12.44 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.02441, allocations: 67.66 kB / 281.1 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.02446, allocations: 3.984 kB / 281.1 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.02455, allocations: 35.91 kB / 281.1 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.02469, allocations: 27.97 kB / 281.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.02473, allocations: 4 kB / 281.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004496/0.02922, allocations: 1.494 MB / 282.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.02926, allocations: 15.97 kB / 282.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.02931, allocations: 19.92 kB / 282.7 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003479/0.03279, allocations: 1.239 MB / 283.9 MB, free: 9.527 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.03279, allocations: 0 / 283.9 MB, free: 9.527 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.0328, allocations: 0 / 283.9 MB, free: 9.527 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.0328, allocations: 0 / 283.9 MB, free: 9.527 MB / 270.1 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.001261/0.03406, allocations: 488.3 kB / 284.4 MB, free: 9.02 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.03411, allocations: 12.92 kB / 284.4 MB, free: 9.008 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.0343, allocations: 12.92 kB / 284.4 MB, free: 8.996 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.03448, allocations: 129.6 kB / 284.6 MB, free: 8.844 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.0345, allocations: 384 / 284.6 MB, free: 8.844 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.03452, allocations: 4.375 kB / 284.6 MB, free: 8.84 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.03478, allocations: 115.4 kB / 284.7 MB, free: 8.703 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.03479, allocations: 192 / 284.7 MB, free: 8.703 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.03481, allocations: 4.125 kB / 284.7 MB, free: 8.699 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.03482, allocations: 4 kB / 284.7 MB, free: 8.695 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.03498, allocations: 23.92 kB / 284.7 MB, free: 8.672 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.03521, allocations: 118.3 kB / 284.8 MB, free: 8.523 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.03564, allocations: 77.19 kB / 284.9 MB, free: 8.43 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.03574, allocations: 25.77 kB / 284.9 MB, free: 8.398 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007953/0.04369, allocations: 1.498 MB / 286.4 MB, free: 6.898 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.04374, allocations: 46.55 kB / 286.5 MB, free: 6.844 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 2.374e-06/0.04375, allocations: 0 / 286.5 MB, free: 6.844 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004606/0.04421, allocations: 81.94 kB / 286.6 MB, free: 6.758 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.04429, allocations: 85.05 kB / 286.6 MB, free: 6.656 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.04446, allocations: 113.8 kB / 286.7 MB, free: 6.535 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.04449, allocations: 25.7 kB / 286.8 MB, free: 6.504 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.04456, allocations: 84.14 kB / 286.9 MB, free: 6.418 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.04461, allocations: 23.83 kB / 286.9 MB, free: 6.395 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.04468, allocations: 17.72 kB / 286.9 MB, free: 6.371 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.04489, allocations: 326.8 kB / 287.2 MB, free: 6.043 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.04498, allocations: 8 kB / 287.2 MB, free: 6.035 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/0.04508, allocations: 25.7 kB / 287.2 MB, free: 6.004 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.04525, allocations: 45.62 kB / 287.3 MB, free: 5.953 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.04526, allocations: 0 / 287.3 MB, free: 5.953 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002593/0.04551, allocations: 69.61 kB / 287.4 MB, free: 5.879 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.04554, allocations: 4 kB / 287.4 MB, free: 5.875 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.04555, allocations: 0 / 287.4 MB, free: 5.875 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.04556, allocations: 0 / 287.4 MB, free: 5.875 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.04568, allocations: 27.92 kB / 287.4 MB, free: 5.848 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.04569, allocations: 0 / 287.4 MB, free: 5.848 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.04577, allocations: 7.891 kB / 287.4 MB, free: 5.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.04579, allocations: 4 kB / 287.4 MB, free: 5.836 MB / 270.1 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 0.0001169/0.0459, allocations: 109.8 kB / 287.5 MB, free: 5.719 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.04594, allocations: 8.125 kB / 287.5 MB, free: 5.711 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.04632, allocations: 109.5 kB / 287.6 MB, free: 5.598 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.04632, allocations: 8 kB / 287.6 MB, free: 5.59 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.04633, allocations: 3.938 kB / 287.6 MB, free: 5.586 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.04634, allocations: 0 / 287.6 MB, free: 5.586 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.04651, allocations: 113.2 kB / 287.7 MB, free: 5.445 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.04651, allocations: 4 kB / 287.8 MB, free: 5.441 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-05/0.0466, allocations: 11.98 kB / 287.8 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.0466, allocations: 0 / 287.8 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.04661, allocations: 0 / 287.8 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.04661, allocations: 4 kB / 287.8 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04661, allocations: 0 / 287.8 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.04689, allocations: 109.8 kB / 287.9 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.04694, allocations: 11.94 kB / 287.9 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.04696, allocations: 0 / 287.9 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.04707, allocations: 8 kB / 287.9 MB, free: 5.277 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.04714, allocations: 11.92 kB / 287.9 MB, free: 5.266 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.04715, allocations: 0 / 287.9 MB, free: 5.266 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.813e-05/0.04724, allocations: 99.56 kB / 288 MB, free: 5.168 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04724, allocations: 0 / 288 MB, free: 5.168 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00132/0.04856, allocations: 326.8 kB / 288.3 MB, free: 4.848 MB / 270.1 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.002146/0.0507, allocations: 0.619 MB / 288.9 MB, free: 4.219 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.05096, allocations: 39.91 kB / 289 MB, free: 4.18 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.05096, allocations: 0 / 289 MB, free: 4.18 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.05105, allocations: 15.94 kB / 289 MB, free: 4.164 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.05133, allocations: 11.98 kB / 289 MB, free: 4.152 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.05193, allocations: 161.8 kB / 289.2 MB, free: 3.965 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/0.05201, allocations: 67.28 kB / 289.2 MB, free: 3.879 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.00015/0.05216, allocations: 52.09 kB / 289.3 MB, free: 3.828 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.05223, allocations: 24.48 kB / 289.3 MB, free: 3.805 MB / 270.1 MB Notification: Performance of SimCode: time 7.81e-07/0.05223, allocations: 0 / 289.3 MB, free: 3.805 MB / 270.1 MB Notification: Performance of Templates: time 0.02416/0.07639, allocations: 9.133 MB / 298.4 MB, free: 10.68 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.086710419505835]