Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000898/0.000898, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9529/0.9529, allocations: 177 MB / 205.2 MB, free: 5.031 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.975e-05, allocations: 9.266 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002681/0.00271, allocations: 1.395 MB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.01639, allocations: 11.97 MB / 286.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.01642, allocations: 0 / 286.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.01645, allocations: 3.938 kB / 286.7 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.01924, allocations: 1.064 MB / 287.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.02073, allocations: 0.6719 MB / 288.5 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.02083, allocations: 63.66 kB / 288.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.02087, allocations: 7.984 kB / 288.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.02094, allocations: 27.97 kB / 288.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.02102, allocations: 31.91 kB / 288.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.02104, allocations: 4 kB / 288.6 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.02326, allocations: 1.506 MB / 290.1 MB, free: 256 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.02328, allocations: 15.92 kB / 290.1 MB, free: 240 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.02331, allocations: 19.91 kB / 290.2 MB, free: 220 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1048/0.1281, allocations: 1.234 MB / 291.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1281, allocations: 0 / 291.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1281, allocations: 0 / 291.4 MB, free: 16.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1281, allocations: 1.375 kB / 291.4 MB, free: 16.79 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.0004209/0.1285, allocations: 457.6 kB / 291.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.1286, allocations: 13.3 kB / 291.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.1286, allocations: 16.12 kB / 291.9 MB, free: 16.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.079e-05/0.1287, allocations: 125 kB / 292 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1287, allocations: 6.312 kB / 292 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1287, allocations: 3.562 kB / 292 MB, free: 16.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1288, allocations: 124.5 kB / 292.1 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1288, allocations: 0.7969 kB / 292.1 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1288, allocations: 2.312 kB / 292.1 MB, free: 16.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1288, allocations: 6.609 kB / 292.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.1289, allocations: 13.88 kB / 292.1 MB, free: 16.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.345e-05/0.1289, allocations: 78.34 kB / 292.2 MB, free: 16.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1291, allocations: 61.61 kB / 292.3 MB, free: 16.06 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.1291, allocations: 17.05 kB / 292.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002468/0.1316, allocations: 1.403 MB / 293.7 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.1316, allocations: 40.72 kB / 293.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1316, allocations: 0 / 293.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001208/0.1317, allocations: 63.52 kB / 293.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.1317, allocations: 78.8 kB / 293.9 MB, free: 15.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.133e-05/0.1318, allocations: 115.3 kB / 294 MB, free: 15.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.1318, allocations: 31.11 kB / 294 MB, free: 15.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.206e-06/0.1318, allocations: 84.17 kB / 294.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.1318, allocations: 13.45 kB / 294.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.1318, allocations: 20.78 kB / 294.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.333e-05/0.1319, allocations: 323.3 kB / 294.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.1319, allocations: 6.328 kB / 294.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.1319, allocations: 21.16 kB / 294.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.47e-05/0.1319, allocations: 33.3 kB / 294.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1319, allocations: 0 / 294.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.095e-05/0.132, allocations: 55.88 kB / 294.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.132, allocations: 4.812 kB / 294.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.132, allocations: 4.094 kB / 294.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.132, allocations: 0.7031 kB / 294.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/0.132, allocations: 11.08 kB / 294.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.132, allocations: 3.688 kB / 294.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.1321, allocations: 18 kB / 294.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1321, allocations: 2.875 kB / 294.6 MB, free: 15.19 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 3.285e-05/0.1321, allocations: 116.1 kB / 294.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.1321, allocations: 5.562 kB / 294.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.1322, allocations: 85.58 kB / 294.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1322, allocations: 1.672 kB / 294.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1322, allocations: 1.5 kB / 294.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1322, allocations: 4.703 kB / 294.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.169e-05/0.1323, allocations: 81.14 kB / 294.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1323, allocations: 1.188 kB / 294.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.1323, allocations: 14.77 kB / 294.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1323, allocations: 1.938 kB / 294.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.1323, allocations: 1.188 kB / 294.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1323, allocations: 5.25 kB / 294.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1323, allocations: 0 / 294.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.874e-05/0.1324, allocations: 86.09 kB / 295 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.1324, allocations: 13.48 kB / 295 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.1324, allocations: 5.328 kB / 295 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.69e-05/0.1324, allocations: 3.438 kB / 295 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.1325, allocations: 10.61 kB / 295 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1325, allocations: 2.578 kB / 295 MB, free: 14.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.598e-05/0.1325, allocations: 20.23 kB / 295.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1325, allocations: 0.5625 kB / 295.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.1329, allocations: 330.7 kB / 295.4 MB, free: 14.8 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.0007847/0.1337, allocations: 0.6342 MB / 296 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.677e-05/0.1338, allocations: 32.03 kB / 296 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1338, allocations: 1.125 kB / 296 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/0.1338, allocations: 22.09 kB / 296.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.797e-05/0.1339, allocations: 17.67 kB / 296.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.1343, allocations: 171.6 kB / 296.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.896e-05/0.1343, allocations: 64.84 kB / 296.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.575e-05/0.1344, allocations: 46.11 kB / 296.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1345, allocations: 72.94 kB / 296.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1345, allocations: 0 / 296.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of Templates: time 0.009445/0.1439, allocations: 10.75 MB / 307.2 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.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: 3.5761911598965526]