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.001296/0.001296, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 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.001328/0.001328, allocations: 154.9 kB / 23.94 MB, free: 4.176 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.433/1.433, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.353e-06/1.353e-06, allocations: 0 / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.089e-05, allocations: 3.125 kB / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001942/0.001973, allocations: 1.326 MB / 320.2 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.01456, allocations: 10.67 MB / 330.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.01462, allocations: 0 / 330.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.01464, allocations: 5.391 kB / 330.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.01828, allocations: 1.04 MB / 332 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.02029, allocations: 0.6587 MB / 332.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.02042, allocations: 68.91 kB / 332.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.02046, allocations: 3.375 kB / 332.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.689e-05/0.02055, allocations: 36.73 kB / 332.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.02065, allocations: 28.14 kB / 332.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.02067, allocations: 2.969 kB / 332.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.02377, allocations: 1.497 MB / 334.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.02379, allocations: 6.219 kB / 334.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.02383, allocations: 25.64 kB / 334.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.02608, allocations: 1.239 MB / 335.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.02608, allocations: 3.938 kB / 335.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.02608, allocations: 1.031 kB / 335.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.02609, allocations: 0 / 335.5 MB, free: 9.051 MB / 302.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.0008259/0.02691, allocations: 491.5 kB / 336 MB, free: 8.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.02695, allocations: 11.11 kB / 336 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.02709, allocations: 6.438 kB / 336 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.02724, allocations: 124.8 kB / 336.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.02726, allocations: 384 / 336.1 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.02727, allocations: 2.875 kB / 336.2 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.02749, allocations: 121.9 kB / 336.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.02749, allocations: 192 / 336.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.02751, allocations: 4.125 kB / 336.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.02752, allocations: 5.422 kB / 336.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.02764, allocations: 29.02 kB / 336.3 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.02782, allocations: 120.3 kB / 336.4 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.02813, allocations: 75.12 kB / 336.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.02821, allocations: 28.52 kB / 336.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006052/0.03426, allocations: 1.504 MB / 338 MB, free: 7.406 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.0343, allocations: 37.31 kB / 338.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.0343, allocations: 0 / 338.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003509/0.03465, allocations: 81.31 kB / 338.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.03472, allocations: 86.27 kB / 338.2 MB, free: 7.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.03485, allocations: 118.9 kB / 338.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.03487, allocations: 30.95 kB / 338.4 MB, free: 7.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.03492, allocations: 81.27 kB / 338.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.03496, allocations: 18.55 kB / 338.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.03501, allocations: 22.73 kB / 338.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.03516, allocations: 312.2 kB / 338.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.03522, allocations: 15.45 kB / 338.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.03528, allocations: 18.66 kB / 338.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.03541, allocations: 42.23 kB / 338.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.03541, allocations: 5.406 kB / 338.9 MB, free: 6.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001783/0.03559, allocations: 70.02 kB / 338.9 MB, free: 6.516 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.0356, allocations: 5.375 kB / 339 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.0356, allocations: 1.25 kB / 339 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.03562, allocations: 0 / 339 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.0357, allocations: 21.45 kB / 339 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.0357, allocations: 1.406 kB / 339 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.03576, allocations: 9.578 kB / 339 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.03577, allocations: 1.812 kB / 339 MB, free: 6.496 MB / 302.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.0001027/0.03588, allocations: 116.7 kB / 339.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.0359, allocations: 7.734 kB / 339.1 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.03619, allocations: 104.3 kB / 339.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.03619, allocations: 5.125 kB / 339.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.0362, allocations: 5.812 kB / 339.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0362, allocations: 0 / 339.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.03633, allocations: 109.9 kB / 339.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.03634, allocations: 3.984 kB / 339.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.0364, allocations: 18.03 kB / 339.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.0364, allocations: 0 / 339.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.03641, allocations: 2.062 kB / 339.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.03641, allocations: 1.188 kB / 339.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03641, allocations: 0 / 339.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.03663, allocations: 106.2 kB / 339.5 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.03667, allocations: 11.34 kB / 339.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.03668, allocations: 1.281 kB / 339.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.03676, allocations: 6.406 kB / 339.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.03681, allocations: 19.45 kB / 339.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.03682, allocations: 1.562 kB / 339.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.0369, allocations: 94.14 kB / 339.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0369, allocations: 0 / 339.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001036/0.03793, allocations: 328.8 kB / 339.9 MB, free: 5.832 MB / 302.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.00131/0.03924, allocations: 0.6101 MB / 340.5 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.03943, allocations: 41 kB / 340.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.03943, allocations: 1 kB / 340.6 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.763e-05/0.0395, allocations: 15.42 kB / 340.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.0397, allocations: 18.17 kB / 340.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.04013, allocations: 169 kB / 340.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.081e-05/0.0402, allocations: 69.45 kB / 340.8 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.0403, allocations: 48.5 kB / 340.9 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.04036, allocations: 20.73 kB / 340.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.04036, allocations: 0 / 340.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of Templates: time 0.01582/0.05618, allocations: 9.128 MB / 350 MB, free: 12.22 MB / 318.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.489421293139458]