Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009509/0.0009509, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001364/0.001364, allocations: 166.1 kB / 25.7 MB, free: 8.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8427/0.8427, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 3.938 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.146e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001397/0.001409, allocations: 1.386 MB / 252.9 MB, free: 5.875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01947/0.02088, allocations: 23.36 MB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.0209, allocations: 0 / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.705e-05/0.021, allocations: 7.875 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008558/0.02956, allocations: 5.727 MB / 282 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.03, allocations: 370.4 kB / 282.4 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.03008, allocations: 83.56 kB / 282.4 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.961e-05/0.03011, allocations: 0 / 282.4 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.03017, allocations: 51.81 kB / 282.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.03024, allocations: 31.95 kB / 282.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.03025, allocations: 4 kB / 282.5 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008524/0.03878, allocations: 8.263 MB / 290.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.03881, allocations: 15.97 kB / 290.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.03884, allocations: 19.94 kB / 290.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.04349, allocations: 5.46 MB / 296.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.04349, allocations: 0 / 296.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.04349, allocations: 7.938 kB / 296.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.0435, allocations: 0 / 296.3 MB, free: 10.34 MB / 282.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.00103/0.04452, allocations: 0.8196 MB / 297.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.04456, allocations: 15.98 kB / 297.1 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.04458, allocations: 8.922 kB / 297.1 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.14e-05/0.04468, allocations: 132.4 kB / 297.3 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.04469, allocations: 384 / 297.3 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.0447, allocations: 7.938 kB / 297.3 MB, free: 9.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.04482, allocations: 126.3 kB / 297.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.04482, allocations: 4 kB / 297.4 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.04483, allocations: 3.938 kB / 297.4 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.04484, allocations: 0 / 297.4 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.04487, allocations: 21.62 kB / 297.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.938e-05/0.04496, allocations: 83.48 kB / 297.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.04511, allocations: 68.48 kB / 297.6 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.04513, allocations: 21.7 kB / 297.6 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.04516, allocations: 12 kB / 297.6 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.04518, allocations: 34.56 kB / 297.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.04518, allocations: 0 / 297.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001041/0.04529, allocations: 61.55 kB / 297.7 MB, free: 8.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.04532, allocations: 81.11 kB / 297.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.04563, allocations: 132.3 kB / 297.9 MB, free: 8.539 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.04564, allocations: 29.7 kB / 297.9 MB, free: 8.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.955e-05/0.04566, allocations: 88.12 kB / 298 MB, free: 8.414 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.04569, allocations: 15.86 kB / 298 MB, free: 8.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.04571, allocations: 21.7 kB / 298.1 MB, free: 8.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.04578, allocations: 314.8 kB / 298.4 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.04579, allocations: 10.83 kB / 298.4 MB, free: 8.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.04581, allocations: 25.64 kB / 298.4 MB, free: 8.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.769e-05/0.04585, allocations: 35.34 kB / 298.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.04585, allocations: 0 / 298.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.638e-05/0.04591, allocations: 63.27 kB / 298.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.04592, allocations: 7.938 kB / 298.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.04592, allocations: 0 / 298.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.04593, allocations: 0 / 298.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.04597, allocations: 8 kB / 298.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.04597, allocations: 8 kB / 298.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.046, allocations: 11.88 kB / 298.5 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.04601, allocations: 480 / 298.5 MB, free: 7.863 MB / 282.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.626e-05/0.04606, allocations: 116.7 kB / 298.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.04607, allocations: 11.88 kB / 298.7 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.316e-05/0.04617, allocations: 69.58 kB / 298.7 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.04617, allocations: 4 kB / 298.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.04617, allocations: 128 / 298.7 MB, free: 7.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.04618, allocations: 4 kB / 298.7 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.38e-05/0.04624, allocations: 85.88 kB / 298.8 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.04624, allocations: 0 / 298.8 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.04627, allocations: 11.94 kB / 298.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.04627, allocations: 0 / 298.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.04627, allocations: 0 / 298.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.04627, allocations: 4 kB / 298.8 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.04627, allocations: 3.938 kB / 298.8 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.787e-05/0.04634, allocations: 90.45 kB / 298.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.04637, allocations: 7.984 kB / 298.9 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.04638, allocations: 0 / 298.9 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.04641, allocations: 4 kB / 298.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.04644, allocations: 19.86 kB / 299 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.04645, allocations: 0 / 299 MB, free: 7.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.367e-05/0.04647, allocations: 31.66 kB / 299 MB, free: 7.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04647, allocations: 0 / 299 MB, free: 7.348 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001093/0.04757, allocations: 0.9352 MB / 299.9 MB, free: 6.41 MB / 282.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.002398/0.04996, allocations: 1.544 MB / 301.5 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.836e-05/0.05003, allocations: 32.78 kB / 301.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.05003, allocations: 0 / 301.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.973e-05/0.05005, allocations: 16.86 kB / 301.5 MB, free: 4.812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.05016, allocations: 23.92 kB / 301.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.0506, allocations: 196.9 kB / 301.7 MB, free: 4.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.675e-05/0.05063, allocations: 55.36 kB / 301.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.1e-05/0.05066, allocations: 15.97 kB / 301.8 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.05073, allocations: 75.36 kB / 301.9 MB, free: 4.402 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05073, allocations: 4 kB / 301.9 MB, free: 4.398 MB / 282.7 MB Notification: Performance of Templates: time 0.02874/0.07947, allocations: 34.45 MB / 336.3 MB, free: 1.902 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.215510117355734]