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.001853/0.001853, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002264/0.002264, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001592/0.001592, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2077, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002376/0.2101, allocations: 1.355 MB / 433.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02932/0.2394, allocations: 21.16 MB / 454.8 MB, free: 96 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.2395, allocations: 0 / 454.8 MB, free: 96 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.2396, allocations: 7.922 kB / 454.8 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.2535, allocations: 5.963 MB / 460.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008018/0.2543, allocations: 362.7 kB / 461.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2544, allocations: 71.7 kB / 461.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.2545, allocations: 8 kB / 461.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.2545, allocations: 39.83 kB / 461.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.2546, allocations: 43.83 kB / 461.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.2546, allocations: 0 / 461.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01439/0.269, allocations: 8.672 MB / 470 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.2691, allocations: 15.97 kB / 470 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.2691, allocations: 27.86 kB / 470 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007874/0.277, allocations: 4.331 MB / 474.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.277, allocations: 4 kB / 474.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.277, allocations: 0 / 474.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.277, allocations: 0 / 474.4 MB, free: 12.54 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.001891/0.2789, allocations: 0.8661 MB / 475.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2789, allocations: 12.03 kB / 475.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.279, allocations: 4.891 kB / 475.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.2792, allocations: 146 kB / 475.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2792, allocations: 0 / 475.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2792, allocations: 11.94 kB / 475.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.2794, allocations: 114.8 kB / 475.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2794, allocations: 0 / 475.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2794, allocations: 4 kB / 475.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2794, allocations: 3.984 kB / 475.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2796, allocations: 35.98 kB / 475.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.2797, allocations: 142.1 kB / 475.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.2801, allocations: 89.19 kB / 475.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.2801, allocations: 33.77 kB / 475.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.2802, allocations: 11.98 kB / 475.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2802, allocations: 34.5 kB / 475.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.2802, allocations: 4 kB / 475.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003393/0.2806, allocations: 105.5 kB / 476 MB, free: 10.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.2806, allocations: 81.11 kB / 476.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2808, allocations: 138.1 kB / 476.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2808, allocations: 25.7 kB / 476.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.2808, allocations: 88.14 kB / 476.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.2809, allocations: 19.88 kB / 476.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.2809, allocations: 25.66 kB / 476.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.281, allocations: 322.8 kB / 476.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.2811, allocations: 12 kB / 476.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.2812, allocations: 29.7 kB / 476.7 MB, free: 10 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.2813, allocations: 65.56 kB / 476.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2813, allocations: 0 / 476.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001982/0.2815, allocations: 73.67 kB / 476.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2815, allocations: 4 kB / 476.8 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2815, allocations: 4 kB / 476.8 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2815, allocations: 0 / 476.8 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.2816, allocations: 19.92 kB / 476.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2816, allocations: 0 / 476.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.2817, allocations: 7.953 kB / 476.9 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.2817, allocations: 4.125 kB / 476.9 MB, free: 9.812 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.004e-05/0.2818, allocations: 113.8 kB / 477 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.2818, allocations: 8 kB / 477 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.2821, allocations: 101.6 kB / 477.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2821, allocations: 4 kB / 477.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2821, allocations: 0 / 477.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2821, allocations: 0 / 477.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.2822, allocations: 129.2 kB / 477.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2822, allocations: 0 / 477.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.2823, allocations: 15.98 kB / 477.2 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.2823, allocations: 0.5625 kB / 477.2 MB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2823, allocations: 4 kB / 477.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2823, allocations: 0 / 477.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2823, allocations: 0 / 477.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.2825, allocations: 117.8 kB / 477.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.2826, allocations: 19.86 kB / 477.4 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.2826, allocations: 4 kB / 477.4 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.2827, allocations: 7.984 kB / 477.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2827, allocations: 0 / 477.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.2827, allocations: 11.98 kB / 477.4 MB, free: 9.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.588e-05/0.2828, allocations: 111.2 kB / 477.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2828, allocations: 0 / 477.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002249/0.285, allocations: 0.9547 MB / 478.5 MB, free: 8.156 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.003963/0.289, allocations: 1.342 MB / 479.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.2892, allocations: 43.97 kB / 479.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2892, allocations: 0 / 479.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.2893, allocations: 31.92 kB / 479.9 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2895, allocations: 23.88 kB / 479.9 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.29, allocations: 184.8 kB / 480.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.29, allocations: 71.33 kB / 480.2 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.382e-05/0.2901, allocations: 11.98 kB / 480.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.2901, allocations: 15.44 kB / 480.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2901, allocations: 3.938 kB / 480.2 MB, free: 6.371 MB / 382.1 MB Notification: Performance of Templates: time 0.03899/0.3291, allocations: 27.4 MB / 0.4957 GB, free: 10.97 MB / 414.1 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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.36579791600525]