Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001333/0.001333, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001479/0.001479, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9708/0.9708, allocations: 177.1 MB / 205 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.551e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001615/0.001631, allocations: 1.407 MB / 274.4 MB, free: 100 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009257/0.01089, allocations: 12 MB / 286.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.01092, allocations: 0 / 286.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.01095, allocations: 7.922 kB / 286.4 MB, free: 4.047 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.01324, allocations: 1.049 MB / 287.4 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.01475, allocations: 0.6602 MB / 288.1 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.409e-05/0.01484, allocations: 63.64 kB / 288.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.226e-05/0.01488, allocations: 4 kB / 288.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.01493, allocations: 35.91 kB / 288.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.015, allocations: 27.95 kB / 288.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.01502, allocations: 4 kB / 288.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.01678, allocations: 1.502 MB / 289.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.01679, allocations: 11.98 kB / 289.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.01682, allocations: 19.92 kB / 289.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1016/0.1184, allocations: 1.239 MB / 291 MB, free: 16.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1184, allocations: 0 / 291 MB, free: 16.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1184, allocations: 1.188 kB / 291 MB, free: 16.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1184, allocations: 0.7969 kB / 291 MB, free: 16.83 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.0006622/0.1191, allocations: 0.5728 MB / 291.6 MB, free: 16.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1191, allocations: 9.188 kB / 291.6 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1192, allocations: 12.98 kB / 291.6 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/0.1193, allocations: 127.7 kB / 291.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1193, allocations: 3.25 kB / 291.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1193, allocations: 4.188 kB / 291.7 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1195, allocations: 132.4 kB / 291.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1195, allocations: 192 / 291.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1195, allocations: 3.078 kB / 291.9 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1195, allocations: 3.938 kB / 291.9 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.381e-05/0.1195, allocations: 18.02 kB / 291.9 MB, free: 16.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.1197, allocations: 134.5 kB / 292 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1198, allocations: 86.3 kB / 292.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.1199, allocations: 30.34 kB / 292.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003052/0.1229, allocations: 1.513 MB / 293.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.123, allocations: 36.86 kB / 293.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.123, allocations: 0 / 293.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001864/0.1231, allocations: 74.98 kB / 293.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.1232, allocations: 82.89 kB / 293.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.1232, allocations: 170.6 kB / 294 MB, free: 15.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.1232, allocations: 30.73 kB / 294 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.66e-05/0.1232, allocations: 128.6 kB / 294.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.1233, allocations: 20.36 kB / 294.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.1233, allocations: 30.41 kB / 294.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.85e-05/0.1233, allocations: 495.2 kB / 294.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.1234, allocations: 8.734 kB / 294.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.1234, allocations: 29.08 kB / 294.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.1234, allocations: 33.78 kB / 294.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1234, allocations: 1.281 kB / 294.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.767e-05/0.1235, allocations: 64.2 kB / 294.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1235, allocations: 6.641 kB / 294.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1235, allocations: 3.062 kB / 294.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1235, allocations: 5.312 kB / 294.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.1236, allocations: 11.47 kB / 294.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1236, allocations: 5.828 kB / 294.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.1236, allocations: 5.312 kB / 294.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1236, allocations: 2.281 kB / 294.8 MB, free: 14.66 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 3.885e-05/0.1237, allocations: 163.9 kB / 295 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.1237, allocations: 8.922 kB / 295 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.1238, allocations: 102.6 kB / 295.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1238, allocations: 1.859 kB / 295.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1238, allocations: 5.031 kB / 295.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1238, allocations: 4.656 kB / 295.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.843e-05/0.1239, allocations: 121.9 kB / 295.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1239, allocations: 1.469 kB / 295.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.1239, allocations: 10.23 kB / 295.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1239, allocations: 1.625 kB / 295.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1239, allocations: 6.375 kB / 295.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1239, allocations: 1.062 kB / 295.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1239, allocations: 4 kB / 295.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.334e-05/0.124, allocations: 113.6 kB / 295.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.124, allocations: 12.23 kB / 295.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1241, allocations: 5 kB / 295.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.255e-05/0.1241, allocations: 4.578 kB / 295.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1241, allocations: 9.484 kB / 295.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1241, allocations: 4.078 kB / 295.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.733e-05/0.1242, allocations: 135.2 kB / 295.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1242, allocations: 1.062 kB / 295.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005447/0.1247, allocations: 328.3 kB / 295.9 MB, free: 14.02 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.0008453/0.1256, allocations: 0.6158 MB / 296.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.773e-05/0.1256, allocations: 42.8 kB / 296.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1257, allocations: 0 / 296.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.1257, allocations: 20.92 kB / 296.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.1258, allocations: 24 kB / 296.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005127/0.1263, allocations: 178.9 kB / 296.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.116e-05/0.1264, allocations: 58.62 kB / 296.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.1264, allocations: 50.95 kB / 296.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.1265, allocations: 27.59 kB / 296.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1265, allocations: 0 / 296.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of Templates: time 0.009541/0.136, allocations: 9.26 MB / 306.1 MB, free: 10.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9917636080645025]