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.000691/0.000691, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001759, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007256/0.0007256, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009881/0.001714, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.8906/0.8906, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08126/0.9719, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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 9.22e-07/9.22e-07, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.069e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001894/0.001915, allocations: 1.442 MB / 246.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00856/0.01048, allocations: 12.04 MB / 258.7 MB, free: 8 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.0105, allocations: 0 / 258.7 MB, free: 8 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.818e-06/0.01051, allocations: 7.922 kB / 258.7 MB, free: 0 / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.01214, allocations: 0.9902 MB / 259.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008291/0.01297, allocations: 0.6406 MB / 260.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.729e-05/0.01305, allocations: 63.66 kB / 260.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3e-05/0.01308, allocations: 7.984 kB / 260.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.946e-05/0.01314, allocations: 43.89 kB / 260.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.01321, allocations: 23.98 kB / 260.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.01322, allocations: 7.938 kB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.01484, allocations: 1.58 MB / 262 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.01486, allocations: 11.94 kB / 262.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.01489, allocations: 12 kB / 262.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.01608, allocations: 1.052 MB / 263.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.01609, allocations: 0 / 263.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01609, allocations: 0 / 263.1 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.0161, allocations: 0 / 263.1 MB, free: 11.55 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.0005523/0.01665, allocations: 0.5571 MB / 263.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.01668, allocations: 8.625 kB / 263.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.0168, allocations: 90.03 kB / 263.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.182e-05/0.01689, allocations: 133.6 kB / 263.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.01691, allocations: 12.31 kB / 263.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.01692, allocations: 4.375 kB / 263.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.01705, allocations: 124 kB / 264 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.01706, allocations: 4.188 kB / 264 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.01706, allocations: 4.125 kB / 264.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.01707, allocations: 0 / 264.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.0171, allocations: 11.94 kB / 264.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.938e-05/0.01719, allocations: 77.89 kB / 264.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.01734, allocations: 69.2 kB / 264.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.01736, allocations: 13.72 kB / 264.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002258/0.01962, allocations: 1.406 MB / 265.6 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.01964, allocations: 34.56 kB / 265.7 MB, free: 8.871 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.01965, allocations: 0 / 265.7 MB, free: 8.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001352/0.01978, allocations: 65.59 kB / 265.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003365/0.02012, allocations: 81.11 kB / 265.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.02018, allocations: 118.6 kB / 265.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.02019, allocations: 29.7 kB / 265.9 MB, free: 8.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.02021, allocations: 84.12 kB / 266 MB, free: 8.453 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.02024, allocations: 23.78 kB / 266.1 MB, free: 8.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.02027, allocations: 17.72 kB / 266.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.02034, allocations: 322.8 kB / 266.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.02036, allocations: 4 kB / 266.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.12e-05/0.02038, allocations: 21.7 kB / 266.4 MB, free: 8.051 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.02042, allocations: 29.64 kB / 266.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02042, allocations: 0 / 266.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.771e-05/0.02049, allocations: 57.61 kB / 266.5 MB, free: 7.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.0205, allocations: 8 kB / 266.5 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.0205, allocations: 3.938 kB / 266.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.02052, allocations: 0 / 266.5 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.02057, allocations: 15.98 kB / 266.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.02057, allocations: 0 / 266.5 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.081e-05/0.02059, allocations: 11.94 kB / 266.5 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.0206, allocations: 0 / 266.5 MB, free: 7.914 MB / 266.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.252e-05/0.02065, allocations: 109.8 kB / 266.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.02066, allocations: 11.98 kB / 266.7 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.02079, allocations: 85.47 kB / 266.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.02079, allocations: 4 kB / 266.7 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.02079, allocations: 0 / 266.7 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.02079, allocations: 3.938 kB / 266.7 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.539e-05/0.02086, allocations: 81.88 kB / 266.8 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.02086, allocations: 0.5625 kB / 266.8 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.02089, allocations: 15.98 kB / 266.8 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/0.02092, allocations: 11.94 kB / 266.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.02092, allocations: 0 / 266.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.02092, allocations: 0 / 266.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.02092, allocations: 3.984 kB / 266.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.02093, allocations: 4 kB / 266.9 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.143e-05/0.021, allocations: 93.95 kB / 267 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.02101, allocations: 4.062 kB / 267 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.02103, allocations: 7.984 kB / 267 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.02107, allocations: 11.98 kB / 267 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.02107, allocations: 4 kB / 267 MB, free: 7.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.992e-05/0.02109, allocations: 8.859 kB / 267 MB, free: 7.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02109, allocations: 4 kB / 267 MB, free: 7.398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.02153, allocations: 330.8 kB / 267.3 MB, free: 7.074 MB / 266.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.0007112/0.02224, allocations: 0.6359 MB / 268 MB, free: 6.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.02231, allocations: 32.78 kB / 268 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.02232, allocations: 4 kB / 268 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.02234, allocations: 24.84 kB / 268 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.02246, allocations: 83.33 kB / 268.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.02352, allocations: 173.3 kB / 268.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.662e-05/0.02355, allocations: 63.22 kB / 268.3 MB, free: 5.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.756e-05/0.02361, allocations: 43.94 kB / 268.4 MB, free: 5.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.02368, allocations: 75.3 kB / 268.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.02368, allocations: 0 / 268.4 MB, free: 5.871 MB / 266.7 MB Notification: Performance of Templates: time 0.1019/0.1255, allocations: 9.968 MB / 278.4 MB, free: 13.23 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.335189525038004]