Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.0009246/0.0009246, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002217, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009302/0.0009302, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002787/0.003717, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.976/0.976, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09267/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2917/0.2917, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05577/0.3475, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 292.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.105e-05, allocations: 5.328 kB / 292.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.009232/0.009253, allocations: 11.35 MB / 304 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008904/0.01816, allocations: 11.78 MB / 315.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.01824, allocations: 0 / 315.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.01846, allocations: 71.45 kB / 315.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006462/0.02492, allocations: 3.084 MB / 319 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.02518, allocations: 163.6 kB / 319.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003073/0.02825, allocations: 3.964 MB / 323.1 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.02829, allocations: 22.47 kB / 323.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.02845, allocations: 207.4 kB / 323.3 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005149/0.03359, allocations: 7.154 MB / 330.5 MB, free: 356 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.03362, allocations: 8 kB / 330.5 MB, free: 348 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003127/0.03675, allocations: 2.157 MB / 332.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.0368, allocations: 27.88 kB / 332.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.03687, allocations: 79.86 kB / 332.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.03835, allocations: 1.512 MB / 334.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.03837, allocations: 0 / 334.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03837, allocations: 0 / 334.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.03838, allocations: 7.938 kB / 334.2 MB, free: 12.55 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001407/0.03979, allocations: 1.123 MB / 335.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.03982, allocations: 8.031 kB / 335.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.04017, allocations: 160.4 kB / 335.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.04035, allocations: 185.4 kB / 335.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.04036, allocations: 21.03 kB / 335.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.04039, allocations: 28.38 kB / 335.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.04085, allocations: 433.2 kB / 336.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.04086, allocations: 4.125 kB / 336.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.04088, allocations: 16.12 kB / 336.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.04088, allocations: 4 kB / 336.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.0413, allocations: 391.7 kB / 336.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.04459, allocations: 2.843 MB / 339.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.04486, allocations: 147 kB / 339.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.04489, allocations: 37.55 kB / 339.6 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009924/0.05482, allocations: 7.243 MB / 346.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/0.0552, allocations: 313.9 kB / 347.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.0552, allocations: 0 / 347.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006762/0.05588, allocations: 395.9 kB / 347.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.05604, allocations: 479 kB / 348 MB, free: 14.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.05616, allocations: 198.8 kB / 348.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.05618, allocations: 33.7 kB / 348.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.05626, allocations: 192.1 kB / 348.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.05632, allocations: 99.14 kB / 348.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.05639, allocations: 90.09 kB / 348.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00032/0.05671, allocations: 330.8 kB / 348.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/0.05675, allocations: 36.97 kB / 349 MB, free: 13.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.05691, allocations: 283.3 kB / 349.3 MB, free: 13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.05717, allocations: 401.5 kB / 349.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.05718, allocations: 0 / 349.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002856/0.05746, allocations: 309.4 kB / 350 MB, free: 12.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.05749, allocations: 11.98 kB / 350 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.0575, allocations: 8 kB / 350 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.05751, allocations: 12 kB / 350 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.05771, allocations: 123.8 kB / 350.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.05773, allocations: 15.94 kB / 350.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.05785, allocations: 55.61 kB / 350.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.05788, allocations: 20 kB / 350.2 MB, free: 11.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 9.727e-05/0.05798, allocations: 152.8 kB / 350.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.05802, allocations: 39.84 kB / 350.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.05852, allocations: 0.5957 MB / 351 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.05853, allocations: 4 kB / 351 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.05853, allocations: 4 kB / 351 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.05854, allocations: 4 kB / 351 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.05898, allocations: 0.6213 MB / 351.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.05899, allocations: 4 kB / 351.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.05905, allocations: 35.92 kB / 351.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.05907, allocations: 28.14 kB / 351.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.05907, allocations: 8 kB / 351.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.05908, allocations: 4 kB / 351.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.05908, allocations: 0 / 351.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.05908, allocations: 4 kB / 351.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.05927, allocations: 371.6 kB / 352.1 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.05931, allocations: 51.5 kB / 352.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.05941, allocations: 11.98 kB / 352.1 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.05943, allocations: 27.84 kB / 352.1 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.05944, allocations: 8 kB / 352.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.05956, allocations: 172.4 kB / 352.3 MB, free: 9.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05956, allocations: 0 / 352.3 MB, free: 9.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006585/0.06022, allocations: 426.6 kB / 352.7 MB, free: 9.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008214/0.06104, allocations: 0.7037 MB / 353.4 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.06122, allocations: 192.3 kB / 353.6 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/0.06123, allocations: 4 kB / 353.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.06128, allocations: 60.69 kB / 353.7 MB, free: 8.281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.06167, allocations: 206.4 kB / 353.9 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8887/0.9504, allocations: 0.5581 GB / 0.9037 GB, free: 35.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.405e-05/0.9504, allocations: 105.5 kB / 0.9038 GB, free: 34.92 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003314/0.9508, allocations: 158.6 kB / 0.9039 GB, free: 34.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.9509, allocations: 125.6 kB / 0.904 GB, free: 34.67 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/0.9509, allocations: 3.562 kB / 0.904 GB, free: 34.67 MB / 458.7 MB Notification: Performance of Templates: time 0.01478/0.9657, allocations: 17.05 MB / 0.9207 GB, free: 17.87 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.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: 4.644585045054555]