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.001415/0.001415, allocations: 84.59 kB / 20.95 MB, free: 332 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.001296/0.001296, allocations: 153.8 kB / 24.25 MB, free: 3.27 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.405/1.405, allocations: 173.3 MB / 200.8 MB, free: 12.72 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_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.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.634e-05, allocations: 3.578 kB / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002365/0.002391, allocations: 1.348 MB / 268.6 MB, free: 8.836 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.03043/0.03282, allocations: 21.09 MB / 289.7 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.03289, allocations: 0 / 289.7 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.03304, allocations: 3.938 kB / 289.7 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.0489, allocations: 5.99 MB / 295.7 MB, free: 13.65 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009263/0.04982, allocations: 370.4 kB / 296.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.04998, allocations: 87.56 kB / 296.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.05002, allocations: 8 kB / 296.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.416e-05/0.05012, allocations: 39.89 kB / 296.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.05022, allocations: 31.95 kB / 296.2 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.05024, allocations: 8 kB / 296.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/0.06694, allocations: 8.377 MB / 304.6 MB, free: 4.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.067, allocations: 19.97 kB / 304.7 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.06707, allocations: 23.92 kB / 304.7 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1336/0.2007, allocations: 5.472 MB / 310.1 MB, free: 23.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2007, allocations: 0.75 kB / 310.1 MB, free: 23.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2007, allocations: 1.094 kB / 310.2 MB, free: 23.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2007, allocations: 0 / 310.2 MB, free: 23.83 MB / 286.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.002942/0.2036, allocations: 0.8581 MB / 311 MB, free: 23.37 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.2036, allocations: 10.58 kB / 311 MB, free: 23.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.2037, allocations: 9.734 kB / 311 MB, free: 23.36 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.2039, allocations: 139.7 kB / 311.2 MB, free: 23.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.2039, allocations: 2.875 kB / 311.2 MB, free: 23.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.2039, allocations: 2.625 kB / 311.2 MB, free: 23.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.2041, allocations: 127.1 kB / 311.3 MB, free: 23.12 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2041, allocations: 0 / 311.3 MB, free: 23.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2041, allocations: 5.734 kB / 311.3 MB, free: 23.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2041, allocations: 1.094 kB / 311.3 MB, free: 23.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2043, allocations: 38.38 kB / 311.3 MB, free: 23.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.2044, allocations: 128.7 kB / 311.5 MB, free: 22.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.2047, allocations: 95.91 kB / 311.6 MB, free: 22.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.2048, allocations: 29.59 kB / 311.6 MB, free: 22.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.536e-05/0.2048, allocations: 13.97 kB / 311.6 MB, free: 22.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.2049, allocations: 33.98 kB / 311.6 MB, free: 22.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2049, allocations: 4.25 kB / 311.6 MB, free: 22.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003468/0.2052, allocations: 111.7 kB / 311.7 MB, free: 22.85 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.2052, allocations: 81.7 kB / 311.8 MB, free: 22.76 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2054, allocations: 142 kB / 312 MB, free: 22.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.2054, allocations: 25.7 kB / 312 MB, free: 22.63 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.2054, allocations: 87.05 kB / 312.1 MB, free: 22.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.2054, allocations: 22.53 kB / 312.1 MB, free: 22.53 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.2055, allocations: 20.84 kB / 312.1 MB, free: 22.52 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.2055, allocations: 314.7 kB / 312.4 MB, free: 22.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.2056, allocations: 17.95 kB / 312.4 MB, free: 22.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.2057, allocations: 31.45 kB / 312.5 MB, free: 22.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2058, allocations: 52.36 kB / 312.5 MB, free: 22.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2058, allocations: 2.281 kB / 312.5 MB, free: 22.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002016/0.206, allocations: 85.56 kB / 312.6 MB, free: 22.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.206, allocations: 10.36 kB / 312.6 MB, free: 22.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.206, allocations: 3.562 kB / 312.6 MB, free: 22.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2061, allocations: 1.375 kB / 312.6 MB, free: 22.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.146e-05/0.2061, allocations: 10.78 kB / 312.6 MB, free: 22.14 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2061, allocations: 1.438 kB / 312.6 MB, free: 22.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.2062, allocations: 9.125 kB / 312.6 MB, free: 22.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2062, allocations: 3.391 kB / 312.6 MB, free: 22.13 MB / 286.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 7.613e-05/0.2063, allocations: 112.3 kB / 312.8 MB, free: 22.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.2063, allocations: 9.312 kB / 312.8 MB, free: 22.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.2066, allocations: 103.7 kB / 312.9 MB, free: 21.98 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.2066, allocations: 1.438 kB / 312.9 MB, free: 21.98 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2066, allocations: 1.734 kB / 312.9 MB, free: 21.98 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2066, allocations: 1.406 kB / 312.9 MB, free: 21.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2067, allocations: 125.7 kB / 313 MB, free: 21.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2067, allocations: 0 / 313 MB, free: 21.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.2068, allocations: 18.02 kB / 313 MB, free: 21.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2068, allocations: 2.422 kB / 313 MB, free: 21.86 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.2068, allocations: 1.984 kB / 313 MB, free: 21.86 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.2068, allocations: 5.219 kB / 313 MB, free: 21.85 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2068, allocations: 0 / 313 MB, free: 21.85 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.207, allocations: 115.7 kB / 313.1 MB, free: 21.78 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.207, allocations: 11.19 kB / 313.1 MB, free: 21.78 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.207, allocations: 1.219 kB / 313.1 MB, free: 21.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.2071, allocations: 12.44 kB / 313.2 MB, free: 21.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.2072, allocations: 7.125 kB / 313.2 MB, free: 21.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.2072, allocations: 4.969 kB / 313.2 MB, free: 21.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.2073, allocations: 112.2 kB / 313.3 MB, free: 21.7 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2073, allocations: 2.078 kB / 313.3 MB, free: 21.7 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.003944/0.2112, allocations: 0.9467 MB / 314.2 MB, free: 21.56 MB / 286.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.007304/0.2185, allocations: 1.467 MB / 315.7 MB, free: 21.33 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.2188, allocations: 51.02 kB / 315.7 MB, free: 21.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2188, allocations: 1.438 kB / 315.7 MB, free: 21.33 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.2189, allocations: 27.66 kB / 315.8 MB, free: 21.33 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.2192, allocations: 17.12 kB / 315.8 MB, free: 21.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.2196, allocations: 179.6 kB / 316 MB, free: 21.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.2196, allocations: 70.84 kB / 316 MB, free: 21.12 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.2197, allocations: 11.56 kB / 316 MB, free: 21.12 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.2198, allocations: 21.23 kB / 316.1 MB, free: 21.12 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2198, allocations: 0 / 316.1 MB, free: 21.12 MB / 286.1 MB Notification: Performance of Templates: time 0.03325/0.253, allocations: 27.35 MB / 343.4 MB, free: 7.895 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 8.430678442120552]