Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.001842/0.001842, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002216/0.002216, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.454/1.454, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003181/0.003181, allocations: 67.86 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2648, allocations: 53.39 MB / 432.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002688/0.2675, allocations: 1.355 MB / 433.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01419/0.2817, allocations: 10.71 MB / 444.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.2817, allocations: 0 / 444.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.2818, allocations: 7.922 kB / 444.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.285, allocations: 1.021 MB / 445.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.2867, allocations: 0.6409 MB / 446.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2869, allocations: 59.72 kB / 446.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.2869, allocations: 4 kB / 446.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.287, allocations: 27.91 kB / 446.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.2871, allocations: 43.83 kB / 446.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2871, allocations: 4 kB / 446.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.2899, allocations: 1.483 MB / 447.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.29, allocations: 3.984 kB / 447.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.29, allocations: 27.86 kB / 447.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.2919, allocations: 1.052 MB / 448.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2919, allocations: 0 / 448.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2919, allocations: 0 / 448.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2919, allocations: 0 / 448.8 MB, free: 6.047 MB / 350.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.0008195/0.2927, allocations: 488.2 kB / 449.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.2928, allocations: 15.98 kB / 449.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2929, allocations: 12.88 kB / 449.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.2931, allocations: 118.5 kB / 449.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2931, allocations: 384 / 449.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.2931, allocations: 4.375 kB / 449.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.2933, allocations: 126.9 kB / 449.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2933, allocations: 0 / 449.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2933, allocations: 0 / 449.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2933, allocations: 7.938 kB / 449.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.2935, allocations: 23.98 kB / 449.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.2936, allocations: 122.1 kB / 449.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.2939, allocations: 81.28 kB / 449.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.294, allocations: 25.7 kB / 449.8 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005792/0.2998, allocations: 1.51 MB / 451.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.2998, allocations: 30.56 kB / 451.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.2999, allocations: 0 / 451.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003478/0.3002, allocations: 81.55 kB / 451.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.3003, allocations: 81.11 kB / 451.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3004, allocations: 117.8 kB / 451.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3004, allocations: 29.64 kB / 451.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.3004, allocations: 88.12 kB / 451.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.3005, allocations: 19.86 kB / 451.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.3005, allocations: 21.7 kB / 451.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3007, allocations: 318.8 kB / 452.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.3007, allocations: 15.92 kB / 452.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.3008, allocations: 25.72 kB / 452.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3009, allocations: 37.7 kB / 452.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3009, allocations: 0 / 452.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001839/0.3011, allocations: 73.56 kB / 452.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3011, allocations: 10.12 kB / 452.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3011, allocations: 4 kB / 452.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3012, allocations: 0 / 452.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.3012, allocations: 15.98 kB / 452.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3012, allocations: 0 / 452.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.3013, allocations: 7.938 kB / 452.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3013, allocations: 3.938 kB / 452.3 MB, free: 2.348 MB / 350.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.471e-05/0.3014, allocations: 117.8 kB / 452.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.3014, allocations: 15.88 kB / 452.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.3017, allocations: 102.1 kB / 452.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3017, allocations: 3.984 kB / 452.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3017, allocations: 0 / 452.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3017, allocations: 0 / 452.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.3018, allocations: 109.3 kB / 452.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3018, allocations: 4 kB / 452.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.3019, allocations: 11.98 kB / 452.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3019, allocations: 4.031 kB / 452.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3019, allocations: 7.938 kB / 452.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3019, allocations: 3.938 kB / 452.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3019, allocations: 4 kB / 452.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3021, allocations: 101.9 kB / 452.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.3022, allocations: 7.984 kB / 452.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3022, allocations: 7.938 kB / 452.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.3023, allocations: 4 kB / 452.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.3023, allocations: 3.984 kB / 452.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3023, allocations: 4 kB / 452.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.358e-05/0.3024, allocations: 95.27 kB / 452.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3024, allocations: 0 / 452.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008582/0.3032, allocations: 330.8 kB / 453.2 MB, free: 1.359 MB / 350.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.001154/0.3044, allocations: 0.5837 MB / 453.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.3046, allocations: 31.92 kB / 453.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3046, allocations: 4 kB / 453.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.3046, allocations: 19.92 kB / 453.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.3048, allocations: 19.23 kB / 453.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.3053, allocations: 193.9 kB / 454 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.3054, allocations: 71.28 kB / 454.1 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.3054, allocations: 19.42 kB / 454.1 MB, free: 368 kB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3054, allocations: 8 kB / 454.1 MB, free: 360 kB / 350.1 MB Notification: Performance of Templates: time 0.0101/0.3155, allocations: 5.97 MB / 460.1 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.420755184721202]