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.001083/0.001083, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002507, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001017/0.001017, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002331, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.882/0.882, allocations: 173.3 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07177/0.9537, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.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.472e-06/1.472e-06, allocations: 0 / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.083e-05, allocations: 6.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001593/0.001614, allocations: 1.426 MB / 241 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.02065, allocations: 23.33 MB / 264.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.0207, allocations: 0 / 264.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.864e-05/0.02079, allocations: 11.92 kB / 264.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.03099, allocations: 5.488 MB / 269.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.03155, allocations: 362.4 kB / 270.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.03179, allocations: 87.56 kB / 270.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.03182, allocations: 4 kB / 270.2 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.03191, allocations: 51.89 kB / 270.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.03199, allocations: 39.88 kB / 270.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.032, allocations: 4 kB / 270.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.112/0.144, allocations: 8.882 MB / 279.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.144, allocations: 11.12 kB / 279.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.1441, allocations: 15.52 kB / 279.2 MB, free: 4.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009587/0.1537, allocations: 4.201 MB / 283.4 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.258e-05/0.1537, allocations: 4.688 kB / 283.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1537, allocations: 0 / 283.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.1537, allocations: 5.25 kB / 283.5 MB, free: 4.91 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.002715/0.1564, allocations: 1.18 MB / 284.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1565, allocations: 9.5 kB / 284.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.1565, allocations: 8.75 kB / 284.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.358e-05/0.1566, allocations: 130.4 kB / 284.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1566, allocations: 2.5 kB / 284.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1566, allocations: 5.75 kB / 284.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1567, allocations: 131.5 kB / 284.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1567, allocations: 1.25 kB / 284.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1568, allocations: 4.031 kB / 284.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1568, allocations: 0 / 284.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.1568, allocations: 15.72 kB / 284.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.411e-05/0.1569, allocations: 82.66 kB / 285 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.157, allocations: 73.22 kB / 285.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.1571, allocations: 17.53 kB / 285.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.1571, allocations: 13.69 kB / 285.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.1571, allocations: 37.2 kB / 285.2 MB, free: 3.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1571, allocations: 0.9375 kB / 285.2 MB, free: 3.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001157/0.1572, allocations: 59.36 kB / 285.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.1573, allocations: 87.55 kB / 285.3 MB, free: 3.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1574, allocations: 127.8 kB / 285.4 MB, free: 19.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.1574, allocations: 26.33 kB / 285.5 MB, free: 19.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.1575, allocations: 89.59 kB / 285.5 MB, free: 19.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1575, allocations: 24.33 kB / 285.6 MB, free: 19.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.1575, allocations: 15.41 kB / 285.6 MB, free: 19.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.1576, allocations: 320.7 kB / 285.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.1576, allocations: 6.078 kB / 285.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.1576, allocations: 27.27 kB / 285.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.1577, allocations: 35.78 kB / 286 MB, free: 19.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1577, allocations: 0 / 286 MB, free: 19.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.381e-05/0.1577, allocations: 59.5 kB / 286 MB, free: 19.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1577, allocations: 5.5 kB / 286 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1577, allocations: 1.906 kB / 286 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.1577, allocations: 0 / 286 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.1578, allocations: 22.84 kB / 286 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.1578, allocations: 0.8438 kB / 286.1 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.1578, allocations: 2.75 kB / 286.1 MB, free: 19.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1578, allocations: 5.062 kB / 286.1 MB, free: 19.11 MB / 282.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.991e-05/0.1579, allocations: 111.1 kB / 286.2 MB, free: 18.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.1579, allocations: 9.438 kB / 286.2 MB, free: 18.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.596e-05/0.158, allocations: 75.23 kB / 286.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.158, allocations: 2.406 kB / 286.3 MB, free: 18.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.158, allocations: 3.938 kB / 286.3 MB, free: 18.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.158, allocations: 2.375 kB / 286.3 MB, free: 18.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.19e-05/0.158, allocations: 72.19 kB / 286.3 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.158, allocations: 0 / 286.3 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1581, allocations: 14.45 kB / 286.3 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.1581, allocations: 14.86 kB / 286.4 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1581, allocations: 1.375 kB / 286.4 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.1581, allocations: 4.812 kB / 286.4 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1581, allocations: 3.375 kB / 286.4 MB, free: 18.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1581, allocations: 7.062 kB / 286.4 MB, free: 18.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.651e-05/0.1582, allocations: 89.94 kB / 286.5 MB, free: 18.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.1582, allocations: 1.375 kB / 286.5 MB, free: 18.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.888e-05/0.1582, allocations: 1.375 kB / 286.5 MB, free: 18.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.1583, allocations: 10.06 kB / 286.5 MB, free: 18.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1583, allocations: 5.312 kB / 286.5 MB, free: 18.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.082e-05/0.1583, allocations: 34.11 kB / 286.5 MB, free: 18.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1583, allocations: 0 / 286.5 MB, free: 18.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002398/0.1607, allocations: 0.9532 MB / 287.5 MB, free: 18.63 MB / 282.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.003518/0.1642, allocations: 1.549 MB / 289 MB, free: 18.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1643, allocations: 31.77 kB / 289 MB, free: 18.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.1643, allocations: 0 / 289 MB, free: 18.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.1643, allocations: 17.95 kB / 289.1 MB, free: 18.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.1645, allocations: 34.56 kB / 289.1 MB, free: 18.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1656, allocations: 201.3 kB / 289.3 MB, free: 18.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.479e-05/0.1656, allocations: 56.45 kB / 289.3 MB, free: 18.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.925e-05/0.1657, allocations: 19.3 kB / 289.4 MB, free: 18.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.1657, allocations: 71.03 kB / 289.4 MB, free: 18.1 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1657, allocations: 0 / 289.4 MB, free: 18.1 MB / 282.7 MB Notification: Performance of Templates: time 0.03045/0.1962, allocations: 31.73 MB / 321.2 MB, free: 8.734 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 -ignoreHideResult -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: 4.529364629648626]