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.0009251/0.0009251, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009196/0.0009196, allocations: 162.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.8976/0.8976, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 274.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.599e-05, allocations: 6.516 kB / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002308/0.002324, allocations: 1.397 MB / 275.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.01536, allocations: 11.84 MB / 287.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.0154, allocations: 0 / 287.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.01542, allocations: 7.938 kB / 287.3 MB, free: 7.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.01809, allocations: 1.049 MB / 288.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.01943, allocations: 0.6485 MB / 289 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.01953, allocations: 67.7 kB / 289.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.01957, allocations: 4 kB / 289.1 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.01963, allocations: 43.89 kB / 289.2 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.01972, allocations: 31.89 kB / 289.2 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.01974, allocations: 4 kB / 289.2 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.0223, allocations: 1.486 MB / 290.7 MB, free: 3.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.02232, allocations: 15.92 kB / 290.7 MB, free: 3.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.02235, allocations: 19.98 kB / 290.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.02408, allocations: 1.243 MB / 292 MB, free: 2.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.02408, allocations: 0 / 292 MB, free: 2.395 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.02409, allocations: 0 / 292 MB, free: 2.395 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.02409, allocations: 4 kB / 292 MB, free: 2.391 MB / 266.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.0006521/0.02474, allocations: 0.5767 MB / 292.5 MB, free: 1.777 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.02477, allocations: 8.031 kB / 292.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.02489, allocations: 24.77 kB / 292.6 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.863e-05/0.02499, allocations: 112.6 kB / 292.7 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.02501, allocations: 8.375 kB / 292.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.02502, allocations: 384 / 292.7 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.02516, allocations: 129.7 kB / 292.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.02517, allocations: 192 / 292.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.02518, allocations: 4.125 kB / 292.8 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.02519, allocations: 8 kB / 292.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.02523, allocations: 11.92 kB / 292.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.02536, allocations: 120.9 kB / 293 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.02554, allocations: 90.25 kB / 293 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.02557, allocations: 23.38 kB / 293.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00386/0.02943, allocations: 1.41 MB / 294.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.02946, allocations: 37.39 kB / 294.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.02946, allocations: 0 / 294.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001747/0.02964, allocations: 65.61 kB / 294.6 MB, free: 15.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.02968, allocations: 77.11 kB / 294.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.02977, allocations: 177.8 kB / 294.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.02979, allocations: 29.7 kB / 294.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.02983, allocations: 130.9 kB / 295 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.02986, allocations: 19.78 kB / 295 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.0299, allocations: 27.36 kB / 295 MB, free: 15.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.03003, allocations: 0.4961 MB / 295.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.03005, allocations: 4 kB / 295.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.03008, allocations: 27.36 kB / 295.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.666e-05/0.03014, allocations: 35.36 kB / 295.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.03014, allocations: 0 / 295.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001042/0.03025, allocations: 69.5 kB / 295.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.03026, allocations: 4 kB / 295.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.03026, allocations: 0 / 295.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.03027, allocations: 8 kB / 295.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.03e-05/0.03033, allocations: 8 kB / 295.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.03034, allocations: 3.938 kB / 295.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.03037, allocations: 3.984 kB / 295.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.03038, allocations: 8 kB / 295.7 MB, free: 14.39 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 8.357e-05/0.03046, allocations: 160.5 kB / 295.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.03049, allocations: 7.953 kB / 295.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.03067, allocations: 93.88 kB / 296 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.03068, allocations: 4.547 kB / 296 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.03068, allocations: 0 / 296 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.03069, allocations: 7.938 kB / 296 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.873e-05/0.03078, allocations: 109.2 kB / 296.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.03079, allocations: 0 / 296.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.03085, allocations: 11.98 kB / 296.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.03085, allocations: 0 / 296.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.03086, allocations: 4 kB / 296.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.03086, allocations: 0 / 296.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.03086, allocations: 3.984 kB / 296.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.031, allocations: 116 kB / 296.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.03104, allocations: 11.97 kB / 296.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.03105, allocations: 4 kB / 296.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.0311, allocations: 192 / 296.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.03114, allocations: 7.984 kB / 296.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.03115, allocations: 8 kB / 296.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.762e-05/0.03121, allocations: 135.2 kB / 296.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03121, allocations: 0 / 296.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006765/0.03188, allocations: 326.8 kB / 296.7 MB, free: 13.33 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.001296/0.03318, allocations: 0.6499 MB / 297.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.985e-05/0.03328, allocations: 27.66 kB / 297.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.03328, allocations: 4 kB / 297.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.03331, allocations: 23.61 kB / 297.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.03351, allocations: 15.98 kB / 297.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.03404, allocations: 185.9 kB / 297.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.03408, allocations: 55.36 kB / 297.6 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.03418, allocations: 44.16 kB / 297.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.03428, allocations: 102.1 kB / 297.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03428, allocations: 0 / 297.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of Templates: time 0.01196/0.04624, allocations: 10.83 MB / 308.6 MB, free: 1.332 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.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: 3.5494360118173063]