Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007127/0.0007127, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001733, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007776/0.0007776, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009202/0.001698, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8977/0.8977, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07791/0.9756, allocations: 52.49 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.2e-05, allocations: 2.312 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002378/0.0024, allocations: 1.422 MB / 241 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.01432, allocations: 12.01 MB / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.01436, allocations: 0 / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.01437, allocations: 3.938 kB / 253 MB, free: 5.691 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.01637, allocations: 0.998 MB / 254 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.01749, allocations: 0.6329 MB / 254.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.767e-05/0.01758, allocations: 59.72 kB / 254.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.01762, allocations: 11.88 kB / 254.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.01781, allocations: 39.95 kB / 254.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.442e-05/0.01788, allocations: 35.89 kB / 254.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.0179, allocations: 0 / 254.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.01981, allocations: 1.58 MB / 256.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.01983, allocations: 11.94 kB / 256.3 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.01985, allocations: 12 kB / 256.4 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.02105, allocations: 1.056 MB / 257.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562e-05/0.02107, allocations: 0 / 257.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02107, allocations: 0 / 257.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.02109, allocations: 0 / 257.4 MB, free: 1.242 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.0005777/0.02166, allocations: 0.5687 MB / 258 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.02169, allocations: 8.031 kB / 258 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.02181, allocations: 94.03 kB / 258.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.0219, allocations: 121.6 kB / 258.2 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.02191, allocations: 4.375 kB / 258.2 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.02192, allocations: 8.375 kB / 258.2 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.02228, allocations: 120.1 kB / 258.3 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.02229, allocations: 192 / 258.3 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.02229, allocations: 8.125 kB / 258.3 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.0223, allocations: 4 kB / 258.3 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.02233, allocations: 15.91 kB / 258.4 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.07e-05/0.02241, allocations: 65.91 kB / 258.4 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.02256, allocations: 65.22 kB / 258.5 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.02258, allocations: 17.72 kB / 258.5 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/0.02485, allocations: 1.406 MB / 259.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.02487, allocations: 38.55 kB / 259.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.02488, allocations: 0 / 259.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001283/0.025, allocations: 69.55 kB / 260 MB, free: 14.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.02503, allocations: 77.11 kB / 260.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.0251, allocations: 122.6 kB / 260.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.02511, allocations: 25.7 kB / 260.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.02513, allocations: 84.14 kB / 260.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.02515, allocations: 27.78 kB / 260.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.02518, allocations: 17.7 kB / 260.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.02524, allocations: 314.8 kB / 260.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.02526, allocations: 7.984 kB / 260.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.02528, allocations: 21.7 kB / 260.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.02531, allocations: 33.64 kB / 260.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02531, allocations: 0 / 260.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.43e-05/0.02537, allocations: 53.61 kB / 260.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.02538, allocations: 4 kB / 260.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.02538, allocations: 0 / 260.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.02539, allocations: 4 kB / 260.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-05/0.02544, allocations: 15.98 kB / 260.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.02544, allocations: 0 / 260.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.02546, allocations: 4.062 kB / 260.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.02547, allocations: 16 kB / 260.8 MB, free: 13.6 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 4.504e-05/0.02552, allocations: 105.8 kB / 260.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.02553, allocations: 7.984 kB / 260.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.02565, allocations: 89.98 kB / 261 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.02565, allocations: 4.078 kB / 261 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.02566, allocations: 4 kB / 261 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.02566, allocations: 7.922 kB / 261 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.211e-05/0.02572, allocations: 69.89 kB / 261.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.02572, allocations: 4 kB / 261.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.02575, allocations: 15.98 kB / 261.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.02578, allocations: 15.94 kB / 261.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.02578, allocations: 0 / 261.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.02578, allocations: 4 kB / 261.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.02579, allocations: 0 / 261.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02579, allocations: 0 / 261.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.394e-05/0.02586, allocations: 89.84 kB / 261.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.02587, allocations: 0 / 261.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.67e-05/0.0259, allocations: 11.94 kB / 261.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.02592, allocations: 7.984 kB / 261.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.02593, allocations: 0 / 261.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.691e-05/0.02595, allocations: 24.83 kB / 261.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02595, allocations: 0 / 261.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004635/0.02641, allocations: 326.8 kB / 261.6 MB, free: 12.77 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.0007377/0.02715, allocations: 0.6393 MB / 262.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.335e-05/0.02722, allocations: 32.78 kB / 262.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.02722, allocations: 0 / 262.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.14e-05/0.02724, allocations: 24.8 kB / 262.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.848e-05/0.02734, allocations: 20.53 kB / 262.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.02844, allocations: 173.4 kB / 262.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.02847, allocations: 59.34 kB / 262.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.156e-05/0.02854, allocations: 51.86 kB / 262.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.02865, allocations: 71.36 kB / 262.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02865, allocations: 3.938 kB / 262.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Templates: time 0.01163/0.04027, allocations: 10.8 MB / 273.5 MB, free: 0.8359 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3099754750728607]