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.001429/0.001429, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001519/0.001519, allocations: 139.9 kB / 24.89 MB, free: 9.207 MB / 18.57 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.9419/0.9419, allocations: 173.3 MB / 201.5 MB, free: 9.211 MB / 186.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.292e-06/1.292e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.855e-05/1.985e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001744/0.001764, allocations: 1.442 MB / 269.9 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1292/0.1309, allocations: 23.19 MB / 293.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.131, allocations: 1.25 kB / 293.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1311, allocations: 9.594 kB / 293.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.1438, allocations: 5.511 MB / 298.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007799/0.1446, allocations: 366.6 kB / 299 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1447, allocations: 81.64 kB / 299.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.1448, allocations: 9.578 kB / 299.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.1448, allocations: 43.55 kB / 299.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.635e-05/0.1449, allocations: 33.89 kB / 299.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1449, allocations: 3.281 kB / 299.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01504/0.16, allocations: 8.867 MB / 308 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.16, allocations: 17.2 kB / 308.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.1601, allocations: 24.61 kB / 308.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.1734, allocations: 5.488 MB / 313.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.896e-06/0.1734, allocations: 0 / 313.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1734, allocations: 0 / 313.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1734, allocations: 0 / 313.6 MB, free: 8.578 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.004306/0.1777, allocations: 0.8327 MB / 314.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1777, allocations: 12.92 kB / 314.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.1778, allocations: 10.39 kB / 314.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1779, allocations: 124.6 kB / 314.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1779, allocations: 0.75 kB / 314.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.178, allocations: 8 kB / 314.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1781, allocations: 129.8 kB / 314.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1781, allocations: 0 / 314.7 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1781, allocations: 4 kB / 314.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1781, allocations: 4 kB / 314.7 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.1782, allocations: 14.58 kB / 314.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.1783, allocations: 87.89 kB / 314.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1785, allocations: 75.5 kB / 314.9 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.1785, allocations: 13.72 kB / 314.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.657e-05/0.1786, allocations: 15.83 kB / 314.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.1786, allocations: 34.56 kB / 314.9 MB, free: 7.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.1786, allocations: 3.188 kB / 314.9 MB, free: 7.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001433/0.1788, allocations: 63.67 kB / 315 MB, free: 7.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.1788, allocations: 81.11 kB / 315.1 MB, free: 6.941 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.1789, allocations: 133.8 kB / 315.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.1789, allocations: 25.7 kB / 315.2 MB, free: 6.773 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.1789, allocations: 92.06 kB / 315.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.1789, allocations: 15.86 kB / 315.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.179, allocations: 20.61 kB / 315.4 MB, free: 6.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.513e-05/0.179, allocations: 320.8 kB / 315.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.179, allocations: 6.828 kB / 315.7 MB, free: 6.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.179, allocations: 16.86 kB / 315.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.497e-05/0.1791, allocations: 38.44 kB / 315.7 MB, free: 6.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1791, allocations: 4 kB / 315.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.566e-05/0.1791, allocations: 54.34 kB / 315.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1792, allocations: 4 kB / 315.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1792, allocations: 4 kB / 315.8 MB, free: 6.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1792, allocations: 3.938 kB / 315.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.1792, allocations: 11.98 kB / 315.8 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.1792, allocations: 3.203 kB / 315.8 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.1793, allocations: 11.94 kB / 315.8 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.1793, allocations: 0 / 315.8 MB, free: 6.152 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 4.886e-05/0.1793, allocations: 118.6 kB / 315.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.1793, allocations: 11.17 kB / 315.9 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1795, allocations: 68.56 kB / 316 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.1795, allocations: 7.031 kB / 316 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1795, allocations: 0 / 316 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1795, allocations: 4 kB / 316 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.876e-05/0.1795, allocations: 75.25 kB / 316.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1795, allocations: 0 / 316.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.1796, allocations: 17.05 kB / 316.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1796, allocations: 0 / 316.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.1796, allocations: 4 kB / 316.1 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1796, allocations: 0 / 316.1 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1796, allocations: 4 kB / 316.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.934e-05/0.1797, allocations: 95.42 kB / 316.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.1797, allocations: 4 kB / 316.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1797, allocations: 8 kB / 316.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.1798, allocations: 3.984 kB / 316.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.1798, allocations: 11.92 kB / 316.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1798, allocations: 0 / 316.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.563e-05/0.1798, allocations: 31.66 kB / 316.3 MB, free: 5.656 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1798, allocations: 8 kB / 316.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.002613/0.1824, allocations: 0.9445 MB / 317.2 MB, free: 4.703 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.00459/0.187, allocations: 1.529 MB / 318.8 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.1871, allocations: 28.59 kB / 318.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.1871, allocations: 8 kB / 318.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.1872, allocations: 15.95 kB / 318.8 MB, free: 3.238 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1873, allocations: 31.39 kB / 318.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1878, allocations: 188.7 kB / 319 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.895e-05/0.1879, allocations: 55.36 kB / 319.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.1879, allocations: 15.97 kB / 319.1 MB, free: 2.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.188, allocations: 71.36 kB / 319.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.188, allocations: 0 / 319.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of Templates: time 0.03153/0.2195, allocations: 31.64 MB / 350.8 MB, free: 3.234 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 -s gbode -gbm=radauIIA3 -emit_protected -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.593745707068592]