Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001041/0.001041, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002592, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000747/0.000747, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009905/0.001738, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.8827/0.8827, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08157/0.9643, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.3e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00188/0.001893, allocations: 1.46 MB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02914/0.03103, allocations: 23.41 MB / 270.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.03106, allocations: 0 / 270.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.625e-05/0.03113, allocations: 11.92 kB / 270.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1086/0.1397, allocations: 5.486 MB / 275.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.1404, allocations: 367.4 kB / 275.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.1406, allocations: 79.08 kB / 276 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.1406, allocations: 3.875 kB / 276 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1407, allocations: 52.55 kB / 276.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.1408, allocations: 35.2 kB / 276.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1408, allocations: 5.25 kB / 276.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/0.1557, allocations: 8.934 MB / 285 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.1557, allocations: 16.55 kB / 285 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.1558, allocations: 14.5 kB / 285.1 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009348/0.1651, allocations: 4.2 MB / 289.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.1651, allocations: 0.5312 kB / 289.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1651, allocations: 0.75 kB / 289.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1651, allocations: 2.688 kB / 289.3 MB, free: 2.285 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.002976/0.1681, allocations: 1.202 MB / 290.5 MB, free: 17.62 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1682, allocations: 8.344 kB / 290.5 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1682, allocations: 4.062 kB / 290.5 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1683, allocations: 129.6 kB / 290.6 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1683, allocations: 1.906 kB / 290.6 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1684, allocations: 6.844 kB / 290.6 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1685, allocations: 135.8 kB / 290.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1685, allocations: 0 / 290.7 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1685, allocations: 3.312 kB / 290.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1685, allocations: 2.562 kB / 290.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.1686, allocations: 18.55 kB / 290.8 MB, free: 17.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.1687, allocations: 76.14 kB / 290.8 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1689, allocations: 75.75 kB / 290.9 MB, free: 17.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.1689, allocations: 13.53 kB / 290.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.1689, allocations: 17.77 kB / 291 MB, free: 17.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.169, allocations: 35.78 kB / 291 MB, free: 17.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.169, allocations: 0.5938 kB / 291 MB, free: 17.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001349/0.1691, allocations: 58.48 kB / 291 MB, free: 17.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1691, allocations: 83.39 kB / 291.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.1692, allocations: 132.7 kB / 291.3 MB, free: 16.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1692, allocations: 25.7 kB / 291.3 MB, free: 16.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.1692, allocations: 87.53 kB / 291.4 MB, free: 16.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1693, allocations: 22.84 kB / 291.4 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.1693, allocations: 18.95 kB / 291.4 MB, free: 16.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.1694, allocations: 323.9 kB / 291.7 MB, free: 16.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.1694, allocations: 5.703 kB / 291.7 MB, free: 16.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.1694, allocations: 21.66 kB / 291.8 MB, free: 16.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.672e-05/0.1695, allocations: 42.56 kB / 291.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1695, allocations: 0 / 291.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.263e-05/0.1696, allocations: 55.61 kB / 291.8 MB, free: 16.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1696, allocations: 5.25 kB / 291.9 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1696, allocations: 1.469 kB / 291.9 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1696, allocations: 2.906 kB / 291.9 MB, free: 16.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.1697, allocations: 16.7 kB / 291.9 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.1697, allocations: 1.094 kB / 291.9 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.093e-05/0.1697, allocations: 4.219 kB / 291.9 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.1697, allocations: 0 / 291.9 MB, free: 16.29 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 6.035e-05/0.1698, allocations: 118.5 kB / 292 MB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.1698, allocations: 10.7 kB / 292 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1699, allocations: 72.06 kB / 292.1 MB, free: 16.13 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1699, allocations: 1 kB / 292.1 MB, free: 16.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.1699, allocations: 7.75 kB / 292.1 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1699, allocations: 1.031 kB / 292.1 MB, free: 16.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.13e-05/0.17, allocations: 74.05 kB / 292.2 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.17, allocations: 0 / 292.2 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.17, allocations: 18.83 kB / 292.2 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.1701, allocations: 10.64 kB / 292.2 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1701, allocations: 0.5938 kB / 292.2 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1701, allocations: 3.984 kB / 292.2 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1701, allocations: 3.938 kB / 292.2 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1701, allocations: 3.938 kB / 292.2 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.376e-05/0.1702, allocations: 88.06 kB / 292.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1702, allocations: 5.75 kB / 292.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.1702, allocations: 5.953 kB / 292.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1703, allocations: 9.484 kB / 292.3 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1703, allocations: 5.188 kB / 292.3 MB, free: 15.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.335e-05/0.1703, allocations: 22.72 kB / 292.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1703, allocations: 0 / 292.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001609/0.1719, allocations: 0.9642 MB / 293.3 MB, free: 15.75 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.002453/0.1744, allocations: 1.54 MB / 294.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.654e-05/0.1744, allocations: 31.14 kB / 294.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1744, allocations: 0.9375 kB / 294.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-05/0.1745, allocations: 27.97 kB / 294.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1746, allocations: 132.5 kB / 295 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1757, allocations: 202.7 kB / 295.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.391e-05/0.1757, allocations: 58.56 kB / 295.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.409e-05/0.1758, allocations: 15.78 kB / 295.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.1758, allocations: 71.58 kB / 295.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1758, allocations: 0 / 295.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of Templates: time 0.0283/0.2041, allocations: 31.09 MB / 326.5 MB, free: 352 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.257841254584491]