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.001369/0.001369, allocations: 84.06 kB / 20.5 MB, free: 1.391 MB / 14.72 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.001442/0.001442, allocations: 163.7 kB / 23.74 MB, free: 4.586 MB / 14.72 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 1.496/1.496, allocations: 177.1 MB / 204 MB, free: 9.273 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001982/0.001982, allocations: 66.3 kB / 324.8 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09078, allocations: 53.38 MB / 378.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002438/0.09321, allocations: 1.362 MB / 379.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03062/0.1238, allocations: 21.15 MB / 400.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.1239, allocations: 4 kB / 400.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.124, allocations: 3.938 kB / 400.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01458/0.1386, allocations: 5.949 MB / 406.6 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.1394, allocations: 366.7 kB / 407 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1395, allocations: 79.62 kB / 407 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.1396, allocations: 4 kB / 407.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.1397, allocations: 47.88 kB / 407.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.1398, allocations: 39.77 kB / 407.1 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1398, allocations: 4 kB / 407.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.1553, allocations: 8.383 MB / 415.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.1553, allocations: 19.86 kB / 415.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.1554, allocations: 27.91 kB / 415.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00863/0.164, allocations: 4.338 MB / 419.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.164, allocations: 0 / 419.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.164, allocations: 0 / 419.9 MB, free: 5.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.164, allocations: 4 kB / 419.9 MB, free: 5.914 MB / 382.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.002583/0.1666, allocations: 0.8602 MB / 420.8 MB, free: 5.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1666, allocations: 11.98 kB / 420.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.1667, allocations: 8.891 kB / 420.8 MB, free: 5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1669, allocations: 142 kB / 420.9 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1669, allocations: 8 kB / 420.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.1669, allocations: 0 / 420.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.1671, allocations: 126.7 kB / 421.1 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1672, allocations: 0 / 421.1 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1672, allocations: 7.938 kB / 421.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1672, allocations: 4 kB / 421.1 MB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1673, allocations: 27.97 kB / 421.1 MB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.1675, allocations: 142.1 kB / 421.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1679, allocations: 93.12 kB / 421.3 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.1679, allocations: 29.77 kB / 421.4 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.168, allocations: 23.97 kB / 421.4 MB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.168, allocations: 30.56 kB / 421.4 MB, free: 4.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.168, allocations: 0 / 421.4 MB, free: 4.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003399/0.1684, allocations: 101.5 kB / 421.5 MB, free: 4.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.1684, allocations: 81.11 kB / 421.6 MB, free: 4.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1686, allocations: 145.7 kB / 421.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.1686, allocations: 25.7 kB / 421.8 MB, free: 3.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.1687, allocations: 84.14 kB / 421.8 MB, free: 3.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.1687, allocations: 27.83 kB / 421.9 MB, free: 3.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1687, allocations: 13.72 kB / 421.9 MB, free: 3.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.1689, allocations: 330.8 kB / 422.2 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.169, allocations: 12 kB / 422.2 MB, free: 3.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.169, allocations: 29.7 kB / 422.2 MB, free: 3.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1692, allocations: 53.69 kB / 422.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1692, allocations: 0 / 422.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001944/0.1694, allocations: 81.61 kB / 422.4 MB, free: 3.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1694, allocations: 4 kB / 422.4 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1694, allocations: 0 / 422.4 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1694, allocations: 8 kB / 422.4 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.1695, allocations: 11.98 kB / 422.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1695, allocations: 0 / 422.4 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1695, allocations: 7.953 kB / 422.4 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1695, allocations: 0 / 422.4 MB, free: 3.188 MB / 382.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 9.525e-05/0.1696, allocations: 125.7 kB / 422.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.1697, allocations: 4 kB / 422.5 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.1699, allocations: 97.58 kB / 422.6 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1699, allocations: 4 kB / 422.6 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1699, allocations: 4.562 kB / 422.6 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1699, allocations: 0 / 422.6 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1701, allocations: 129.1 kB / 422.8 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1701, allocations: 0 / 422.8 MB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.1701, allocations: 12.11 kB / 422.8 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1701, allocations: 0 / 422.8 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1701, allocations: 8 kB / 422.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1701, allocations: 0 / 422.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1701, allocations: 0 / 422.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1704, allocations: 121.8 kB / 422.9 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.1704, allocations: 11.94 kB / 422.9 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1704, allocations: 8 kB / 422.9 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.1705, allocations: 3.984 kB / 422.9 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.1705, allocations: 4 kB / 422.9 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1706, allocations: 7.984 kB / 422.9 MB, free: 2.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.758e-05/0.1706, allocations: 111.6 kB / 423 MB, free: 2.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1706, allocations: 0 / 423 MB, free: 2.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002434/0.1731, allocations: 0.9586 MB / 424 MB, free: 1.523 MB / 382.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.003871/0.177, allocations: 1.328 MB / 425.3 MB, free: 184 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1772, allocations: 51.91 kB / 425.4 MB, free: 132 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1772, allocations: 0 / 425.4 MB, free: 132 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.1773, allocations: 19.98 kB / 425.4 MB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.1775, allocations: 31.2 kB / 425.4 MB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.178, allocations: 193 kB / 425.6 MB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.433e-05/0.1781, allocations: 75.33 kB / 425.7 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.1781, allocations: 7.984 kB / 425.7 MB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1782, allocations: 16.5 kB / 425.7 MB, free: 15.74 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1782, allocations: 0 / 425.7 MB, free: 15.74 MB / 398.1 MB Notification: Performance of Templates: time 0.04116/0.2193, allocations: 27.32 MB / 453 MB, free: 4.398 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.669566271826625]