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.00162/0.00162, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.00173/0.00173, allocations: 191.7 kB / 23.7 MB, free: 4.195 MB / 14.72 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 1.433/1.433, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001727/0.001727, allocations: 51.91 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.238, allocations: 52.17 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002605/0.2406, allocations: 1.365 MB / 424.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03119/0.2718, allocations: 21.09 MB / 445.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.2718, allocations: 0 / 445.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.272, allocations: 7.922 kB / 445.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01697/0.2889, allocations: 5.928 MB / 451.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.29, allocations: 374.7 kB / 451.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.2902, allocations: 79.58 kB / 451.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.2903, allocations: 3.984 kB / 451.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.2904, allocations: 27.92 kB / 451.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2905, allocations: 39.88 kB / 452 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.2905, allocations: 4 kB / 452 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/0.3082, allocations: 8.355 MB / 460.3 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.3083, allocations: 19.92 kB / 460.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.3083, allocations: 27.91 kB / 460.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.3184, allocations: 4.303 MB / 464.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3184, allocations: 3.938 kB / 464.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3184, allocations: 0 / 464.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3184, allocations: 0 / 464.7 MB, free: 4.77 MB / 366.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.002323/0.3207, allocations: 0.8563 MB / 465.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3208, allocations: 12.03 kB / 465.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.3208, allocations: 12.88 kB / 465.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.321, allocations: 138 kB / 465.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.321, allocations: 0 / 465.7 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.321, allocations: 8 kB / 465.7 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3213, allocations: 122.8 kB / 465.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3213, allocations: 3.984 kB / 465.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3213, allocations: 4 kB / 465.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3213, allocations: 0 / 465.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3214, allocations: 31.92 kB / 465.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.3216, allocations: 150.1 kB / 466 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.322, allocations: 101.2 kB / 466.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.322, allocations: 33.7 kB / 466.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.3221, allocations: 11.98 kB / 466.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3221, allocations: 34.56 kB / 466.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3221, allocations: 0 / 466.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003296/0.3225, allocations: 93.59 kB / 466.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3225, allocations: 85.11 kB / 466.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3227, allocations: 137.8 kB / 466.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3227, allocations: 25.7 kB / 466.5 MB, free: 2.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.3227, allocations: 88.14 kB / 466.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.3228, allocations: 23.84 kB / 466.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.3228, allocations: 25.66 kB / 466.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.323, allocations: 318.8 kB / 467 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.323, allocations: 16 kB / 467 MB, free: 2.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.3231, allocations: 29.7 kB / 467 MB, free: 2.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3232, allocations: 53.62 kB / 467.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3232, allocations: 0 / 467.1 MB, free: 2.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000204/0.3234, allocations: 85.56 kB / 467.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3235, allocations: 4 kB / 467.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3235, allocations: 8 kB / 467.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3235, allocations: 0 / 467.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.3235, allocations: 11.98 kB / 467.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3235, allocations: 0 / 467.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.3236, allocations: 4 kB / 467.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3236, allocations: 0 / 467.2 MB, free: 2.047 MB / 366.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 0.0001013/0.3237, allocations: 121.7 kB / 467.3 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.3237, allocations: 7.953 kB / 467.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.324, allocations: 102 kB / 467.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.324, allocations: 12.08 kB / 467.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.324, allocations: 0 / 467.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.324, allocations: 0 / 467.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.3241, allocations: 121.2 kB / 467.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3241, allocations: 0 / 467.5 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.3242, allocations: 15.92 kB / 467.5 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3242, allocations: 4 kB / 467.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3242, allocations: 0 / 467.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3242, allocations: 0 / 467.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3242, allocations: 128 / 467.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.3245, allocations: 125.9 kB / 467.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.3245, allocations: 20.31 kB / 467.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3245, allocations: 0 / 467.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.3246, allocations: 7.984 kB / 467.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.3247, allocations: 0 / 467.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3247, allocations: 15.92 kB / 467.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.3248, allocations: 111.2 kB / 467.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3248, allocations: 0 / 467.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002462/0.3272, allocations: 0.9508 MB / 468.8 MB, free: 388 kB / 366.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.004994/0.3322, allocations: 1.327 MB / 470.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3325, allocations: 43.97 kB / 470.1 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3325, allocations: 0 / 470.1 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.3326, allocations: 27.92 kB / 470.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3328, allocations: 23.98 kB / 470.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.3333, allocations: 189.3 kB / 470.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.356e-05/0.3334, allocations: 63.34 kB / 470.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.935e-05/0.3335, allocations: 15.97 kB / 470.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.3335, allocations: 23.42 kB / 470.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3335, allocations: 4 kB / 470.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Templates: time 0.04396/0.3775, allocations: 27.21 MB / 497.7 MB, free: 3.402 MB / 398.1 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: 8.671886328607798]