Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 84.41 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 174.4 kB / 25.61 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9613/0.9613, allocations: 177.2 MB / 206.1 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.319e-05, allocations: 2.312 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001687/0.0017, allocations: 1.409 MB / 275.6 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01965/0.02135, allocations: 23 MB / 298.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.02139, allocations: 0 / 298.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.02149, allocations: 7.938 kB / 298.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.0318, allocations: 6.018 MB / 304.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.03232, allocations: 374.3 kB / 305 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.386e-05/0.03242, allocations: 79.58 kB / 305.1 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.03245, allocations: 11.92 kB / 305.1 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.03251, allocations: 43.89 kB / 305.1 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.609e-05/0.03259, allocations: 35.95 kB / 305.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.0326, allocations: 0 / 305.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009683/0.04228, allocations: 8.428 MB / 313.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.04232, allocations: 15.97 kB / 313.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.04234, allocations: 19.94 kB / 313.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006778/0.04912, allocations: 5.511 MB / 319.1 MB, free: 7.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.04913, allocations: 0 / 319.1 MB, free: 7.375 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.04913, allocations: 0 / 319.1 MB, free: 7.375 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.04913, allocations: 0 / 319.1 MB, free: 7.375 MB / 298.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.001238/0.05037, allocations: 0.9598 MB / 320.1 MB, free: 6.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.05041, allocations: 8.031 kB / 320.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.05045, allocations: 8.891 kB / 320.1 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.05057, allocations: 148.4 kB / 320.2 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.05058, allocations: 384 / 320.2 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.05059, allocations: 11.88 kB / 320.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.05074, allocations: 129.2 kB / 320.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.05075, allocations: 0 / 320.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.05075, allocations: 0 / 320.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.05076, allocations: 0 / 320.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.05079, allocations: 11.98 kB / 320.4 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.05093, allocations: 121 kB / 320.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.0511, allocations: 86.23 kB / 320.6 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.05113, allocations: 23.36 kB / 320.6 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.05117, allocations: 8 kB / 320.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.05119, allocations: 49.27 kB / 320.7 MB, free: 5.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.05119, allocations: 3.938 kB / 320.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000436/0.05163, allocations: 69.94 kB / 320.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.05166, allocations: 77.11 kB / 320.8 MB, free: 5.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.338e-05/0.05173, allocations: 181.9 kB / 321 MB, free: 5.285 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.05174, allocations: 33.7 kB / 321 MB, free: 5.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.05178, allocations: 130.9 kB / 321.2 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.0518, allocations: 19.84 kB / 321.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.05183, allocations: 27.31 kB / 321.2 MB, free: 5.059 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.05193, allocations: 0.4884 MB / 321.7 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.05195, allocations: 4 kB / 321.7 MB, free: 4.555 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.05197, allocations: 23.36 kB / 321.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.05202, allocations: 43.28 kB / 321.8 MB, free: 4.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.05202, allocations: 0 / 321.8 MB, free: 4.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.75e-05/0.0521, allocations: 61.67 kB / 321.8 MB, free: 4.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.05211, allocations: 7.938 kB / 321.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.05212, allocations: 3.938 kB / 321.8 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.05212, allocations: 0 / 321.8 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.05216, allocations: 12 kB / 321.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.05217, allocations: 0 / 321.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.05219, allocations: 7.984 kB / 321.9 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.05219, allocations: 7.984 kB / 321.9 MB, free: 4.367 MB / 298.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.695e-05/0.05225, allocations: 152.6 kB / 322 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.05227, allocations: 15.89 kB / 322 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.05237, allocations: 81.59 kB / 322.1 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.05237, allocations: 0 / 322.1 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.05237, allocations: 0 / 322.1 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.05237, allocations: 4 kB / 322.1 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.366e-05/0.05245, allocations: 109.1 kB / 322.2 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.05245, allocations: 0 / 322.2 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.05248, allocations: 12.11 kB / 322.2 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.05248, allocations: 8 kB / 322.2 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.05249, allocations: 4 kB / 322.2 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.05249, allocations: 3.938 kB / 322.2 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.05249, allocations: 4 kB / 322.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.647e-05/0.05258, allocations: 100.1 kB / 322.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.0526, allocations: 15.94 kB / 322.4 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.05261, allocations: 3.938 kB / 322.4 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.533e-05/0.05265, allocations: 11.92 kB / 322.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.05268, allocations: 4.188 kB / 322.4 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.05268, allocations: 7.984 kB / 322.4 MB, free: 3.773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.294e-05/0.05273, allocations: 135.2 kB / 322.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05273, allocations: 0 / 322.5 MB, free: 3.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00123/0.05396, allocations: 0.9547 MB / 323.5 MB, free: 2.684 MB / 298.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.002582/0.05654, allocations: 1.496 MB / 325 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.291e-05/0.05662, allocations: 27.72 kB / 325 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.05663, allocations: 4 kB / 325 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.47e-05/0.05665, allocations: 27.61 kB / 325 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.05681, allocations: 27.92 kB / 325.1 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005546/0.05737, allocations: 189.7 kB / 325.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.0574, allocations: 59.34 kB / 325.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.05744, allocations: 15.98 kB / 325.3 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.05751, allocations: 94.17 kB / 325.4 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.05751, allocations: 0 / 325.4 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of Templates: time 0.1423/0.1998, allocations: 32.58 MB / 358 MB, free: 42.97 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.247605160810053]