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.0006945/0.0006945, allocations: 84 kB / 21.43 MB, free: 3.133 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.005589/0.005589, allocations: 148.3 kB / 24.68 MB, free: 9.434 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.8538/0.8538, allocations: 173.4 MB / 201.2 MB, free: 9.418 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.453e-06/1.453e-06, allocations: 0 / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.168e-05, allocations: 10.22 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001397/0.001419, allocations: 1.319 MB / 321 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.01848, allocations: 21.1 MB / 342.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.01851, allocations: 0 / 342.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 9.288e-05/0.01861, allocations: 7.938 kB / 342.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.02931, allocations: 6.001 MB / 348.1 MB, free: 9.328 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005532/0.02986, allocations: 366.4 kB / 348.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.02996, allocations: 91.5 kB / 348.6 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.03, allocations: 0 / 348.6 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.03005, allocations: 43.89 kB / 348.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.03013, allocations: 31.95 kB / 348.6 MB, free: 8.805 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.03014, allocations: 4 kB / 348.6 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009965/0.04011, allocations: 8.388 MB / 357 MB, free: 412 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.04015, allocations: 15.88 kB / 357 MB, free: 396 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.04019, allocations: 23.97 kB / 357.1 MB, free: 372 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005954/0.04614, allocations: 5.465 MB / 362.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.04615, allocations: 4 kB / 362.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.04615, allocations: 0 / 362.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.04616, allocations: 0 / 362.5 MB, free: 10.88 MB / 330.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.001125/0.04728, allocations: 0.8525 MB / 363.4 MB, free: 9.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.04731, allocations: 12.92 kB / 363.4 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.04734, allocations: 4.891 kB / 363.4 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.277e-05/0.04744, allocations: 145.6 kB / 363.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.04744, allocations: 384 / 363.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.04745, allocations: 3.938 kB / 363.5 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.04756, allocations: 122.8 kB / 363.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-06/0.04757, allocations: 0 / 363.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.04757, allocations: 0 / 363.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.04758, allocations: 4 kB / 363.7 MB, free: 9.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.531e-05/0.04764, allocations: 39.91 kB / 363.7 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.04775, allocations: 138.2 kB / 363.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.04796, allocations: 89.19 kB / 363.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.048, allocations: 37.7 kB / 364 MB, free: 9.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.04803, allocations: 15.92 kB / 364 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.04805, allocations: 30.56 kB / 364 MB, free: 9.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.04805, allocations: 0 / 364 MB, free: 9.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000217/0.04827, allocations: 105.6 kB / 364.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.04831, allocations: 81.11 kB / 364.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.04839, allocations: 137.8 kB / 364.3 MB, free: 8.898 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.0484, allocations: 25.7 kB / 364.4 MB, free: 8.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.04843, allocations: 84.52 kB / 364.4 MB, free: 8.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.04846, allocations: 27.78 kB / 364.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.04849, allocations: 17.72 kB / 364.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.04856, allocations: 314.8 kB / 364.8 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.04859, allocations: 23.92 kB / 364.8 MB, free: 8.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.04863, allocations: 29.7 kB / 364.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.0487, allocations: 65.98 kB / 364.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0487, allocations: 0 / 364.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001065/0.04881, allocations: 89.5 kB / 365 MB, free: 8.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.04882, allocations: 4 kB / 365 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.04883, allocations: 0 / 365 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.04884, allocations: 4 kB / 365 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.374e-05/0.04888, allocations: 11.98 kB / 365 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.04888, allocations: 0 / 365 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.0489, allocations: 4 kB / 365 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.0489, allocations: 4 kB / 365 MB, free: 8.164 MB / 330.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 5.58e-05/0.04896, allocations: 113.8 kB / 365.1 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.04897, allocations: 11.89 kB / 365.1 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.04911, allocations: 101.6 kB / 365.2 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.04911, allocations: 4 kB / 365.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.04912, allocations: 0 / 365.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.04912, allocations: 0 / 365.2 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.717e-05/0.04919, allocations: 121.2 kB / 365.4 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-07/0.04919, allocations: 0 / 365.4 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.04921, allocations: 11.98 kB / 365.4 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.04921, allocations: 7.938 kB / 365.4 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.04922, allocations: 8 kB / 365.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.04922, allocations: 0 / 365.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.04922, allocations: 3.938 kB / 365.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.04933, allocations: 109.9 kB / 365.5 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.04936, allocations: 15.88 kB / 365.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.04937, allocations: 4 kB / 365.5 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.0494, allocations: 192 / 365.5 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.04943, allocations: 11.92 kB / 365.5 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.04944, allocations: 8 kB / 365.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.04948, allocations: 115.2 kB / 365.7 MB, free: 7.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04948, allocations: 0 / 365.7 MB, free: 7.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001234/0.05072, allocations: 0.9511 MB / 366.6 MB, free: 6.512 MB / 330.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.002534/0.05325, allocations: 1.47 MB / 368.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001262/0.05338, allocations: 43.97 kB / 368.1 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.05338, allocations: 4 kB / 368.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.05342, allocations: 27.92 kB / 368.1 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.05358, allocations: 15.98 kB / 368.2 MB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.0539, allocations: 199.2 kB / 368.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.05394, allocations: 71.28 kB / 368.4 MB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.05397, allocations: 24.5 kB / 368.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of SimCode: time 4.61e-07/0.05397, allocations: 0 / 368.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of Templates: time 0.01779/0.07177, allocations: 18.38 MB / 386.8 MB, free: 2.195 MB / 346.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=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: 7.284486687742174]