Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.0009222/0.0009222, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001017/0.001017, allocations: 166.6 kB / 25.6 MB, free: 8.48 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.8703/0.8703, allocations: 158.6 MB / 187.5 MB, free: 2.816 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.148e-05, allocations: 6.25 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002767/0.002798, allocations: 1.374 MB / 252.8 MB, free: 5.859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009468/0.01227, allocations: 11.81 MB / 264.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.0123, allocations: 0 / 264.7 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.01232, allocations: 11.92 kB / 264.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.01413, allocations: 1.045 MB / 265.7 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.01522, allocations: 0.6563 MB / 266.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.138e-05/0.01529, allocations: 71.64 kB / 266.4 MB, free: 8.199 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.7e-05/0.01532, allocations: 4 kB / 266.4 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.01537, allocations: 35.89 kB / 266.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.01544, allocations: 31.89 kB / 266.5 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.01546, allocations: 4 kB / 266.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.01687, allocations: 1.494 MB / 268 MB, free: 6.629 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.01688, allocations: 15.86 kB / 268 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.0169, allocations: 15.98 kB / 268 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.01794, allocations: 1.243 MB / 269.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.01794, allocations: 0 / 269.3 MB, free: 5.352 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01794, allocations: 4 kB / 269.3 MB, free: 5.348 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.01795, allocations: 0 / 269.3 MB, free: 5.348 MB / 250.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.0004341/0.01838, allocations: 0.5764 MB / 269.9 MB, free: 4.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.01842, allocations: 15.98 kB / 269.9 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.01849, allocations: 8.891 kB / 269.9 MB, free: 4.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.435e-05/0.01857, allocations: 128.6 kB / 270 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.01858, allocations: 4.312 kB / 270 MB, free: 4.555 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.01859, allocations: 4.375 kB / 270 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.01871, allocations: 137.6 kB / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.01872, allocations: 4.188 kB / 270.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.01873, allocations: 12.11 kB / 270.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.01873, allocations: 0 / 270.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.739e-05/0.01876, allocations: 15.92 kB / 270.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.78e-05/0.01886, allocations: 112.9 kB / 270.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.019, allocations: 78.25 kB / 270.4 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.01902, allocations: 23.44 kB / 270.4 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00233/0.02135, allocations: 1.445 MB / 271.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.02137, allocations: 37.39 kB / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.02138, allocations: 0 / 271.9 MB, free: 2.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001309/0.02151, allocations: 69.59 kB / 271.9 MB, free: 2.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.02154, allocations: 81.11 kB / 272 MB, free: 2.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.0216, allocations: 173.8 kB / 272.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.02161, allocations: 33.7 kB / 272.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.02165, allocations: 130.9 kB / 272.4 MB, free: 2.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.02167, allocations: 23.78 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.0217, allocations: 27.36 kB / 272.4 MB, free: 2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.0218, allocations: 492.1 kB / 272.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.02181, allocations: 7.984 kB / 272.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.02183, allocations: 27.36 kB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.871e-05/0.02187, allocations: 35.3 kB / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.02187, allocations: 0 / 273 MB, free: 1.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.747e-05/0.02194, allocations: 69.56 kB / 273 MB, free: 1.348 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.02195, allocations: 8 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.02196, allocations: 0 / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.02197, allocations: 0 / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/0.02201, allocations: 11.94 kB / 273 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.02201, allocations: 7.938 kB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.02203, allocations: 0 / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.02204, allocations: 3.984 kB / 273.1 MB, free: 1.316 MB / 250.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.551e-05/0.02209, allocations: 160.6 kB / 273.2 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.0221, allocations: 11.95 kB / 273.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.02247, allocations: 89.52 kB / 273.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.02248, allocations: 4 kB / 273.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.02248, allocations: 0 / 273.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.02248, allocations: 7.922 kB / 273.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.608e-05/0.02255, allocations: 109.2 kB / 273.4 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.02255, allocations: 0 / 273.4 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.02258, allocations: 16.11 kB / 273.4 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.02258, allocations: 8.562 kB / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-06/0.02258, allocations: 0 / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.02258, allocations: 0 / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02259, allocations: 0 / 273.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.139e-05/0.02267, allocations: 112 kB / 273.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.02269, allocations: 15.95 kB / 273.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-06/0.0227, allocations: 0 / 273.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.74e-05/0.02273, allocations: 8 kB / 273.6 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.02275, allocations: 7.984 kB / 273.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.02276, allocations: 0 / 273.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.451e-05/0.02279, allocations: 135.2 kB / 273.7 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02279, allocations: 0 / 273.7 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.02319, allocations: 334.8 kB / 274 MB, free: 248 kB / 250.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.0006939/0.02388, allocations: 0.6466 MB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.02395, allocations: 31.61 kB / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.02395, allocations: 0 / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.02398, allocations: 31.67 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.02411, allocations: 19.94 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.02453, allocations: 173 kB / 274.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.619e-05/0.02455, allocations: 55.36 kB / 275 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.732e-05/0.02462, allocations: 47.88 kB / 275 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.02469, allocations: 98.17 kB / 275.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of SimCode: time 4.5e-07/0.02469, allocations: 0 / 275.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of Templates: time 0.01016/0.03486, allocations: 10.81 MB / 285.9 MB, free: 4.266 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_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_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.5234753410331905]