Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009735/0.0009735, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0011/0.0011, allocations: 169.9 kB / 24.91 MB, free: 9.184 MB / 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.9947/0.9947, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2783/0.2783, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.736e-05, allocations: 3.781 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01125/0.01128, allocations: 11.26 MB / 334.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009554/0.02083, allocations: 11.74 MB / 346.3 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.02099, allocations: 0 / 346.3 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.02135, allocations: 75.5 kB / 346.4 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009025/0.03037, allocations: 3.24 MB / 349.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.03075, allocations: 163.7 kB / 349.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003634/0.03438, allocations: 4.021 MB / 353.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.59e-05/0.03445, allocations: 14.55 kB / 353.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.03466, allocations: 203.5 kB / 354 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005427/0.04008, allocations: 7.289 MB / 361.3 MB, free: 3.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.04014, allocations: 12 kB / 361.3 MB, free: 3.508 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.04408, allocations: 2.048 MB / 363.3 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.04417, allocations: 43.77 kB / 363.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.04434, allocations: 99.75 kB / 363.5 MB, free: 1.316 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003996/0.04833, allocations: 1.749 MB / 365.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.04834, allocations: 4 kB / 365.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.04834, allocations: 0 / 365.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.04835, allocations: 0 / 365.2 MB, free: 15.56 MB / 346.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.001738/0.05008, allocations: 0.8644 MB / 366.1 MB, free: 14.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.05012, allocations: 8.031 kB / 366.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/0.05068, allocations: 160.4 kB / 366.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.05093, allocations: 177.4 kB / 366.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.05095, allocations: 21.03 kB / 366.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.05099, allocations: 28.38 kB / 366.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.05164, allocations: 433.3 kB / 366.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.05166, allocations: 4.125 kB / 366.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.05169, allocations: 16.12 kB / 366.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.0517, allocations: 8 kB / 366.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.05232, allocations: 387.7 kB / 367.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004672/0.05699, allocations: 2.867 MB / 370.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.05742, allocations: 139 kB / 370.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.05753, allocations: 41.55 kB / 370.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01369/0.07122, allocations: 7.262 MB / 377.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000543/0.07177, allocations: 303.1 kB / 377.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.07177, allocations: 0 / 377.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009494/0.07272, allocations: 397.1 kB / 378.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.07288, allocations: 478.6 kB / 378.8 MB, free: 1.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.07302, allocations: 200.2 kB / 379 MB, free: 1.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.07305, allocations: 33.7 kB / 379 MB, free: 1.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.07314, allocations: 196.1 kB / 379.2 MB, free: 1.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.0732, allocations: 95.16 kB / 379.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.0733, allocations: 94.09 kB / 379.4 MB, free: 1.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.0734, allocations: 334.8 kB / 379.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.07345, allocations: 36.98 kB / 379.7 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.07363, allocations: 279.3 kB / 380 MB, free: 260 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.07396, allocations: 395.6 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.07396, allocations: 4 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003756/0.07434, allocations: 301.5 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.07436, allocations: 11.98 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.07437, allocations: 16.16 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.0744, allocations: 12 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.07464, allocations: 99.83 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.07466, allocations: 19.92 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.07486, allocations: 51.62 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.0749, allocations: 24 kB / 380.9 MB, free: 15.21 MB / 362.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 0.0001161/0.07502, allocations: 148.5 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.07508, allocations: 35.84 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000686/0.07577, allocations: 0.6024 MB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.07577, allocations: 4 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.07578, allocations: 4.219 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.07578, allocations: 4 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.07645, allocations: 0.6174 MB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.07646, allocations: 4 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.07655, allocations: 35.92 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.07655, allocations: 4 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.07656, allocations: 8 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.07657, allocations: 4 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.07657, allocations: 3.984 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.07683, allocations: 370.4 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.07686, allocations: 23.8 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.669e-05/0.07692, allocations: 47.56 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.07709, allocations: 15.98 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.07712, allocations: 19.86 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.07713, allocations: 15.98 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.0773, allocations: 172.3 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0773, allocations: 0 / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001224/0.07853, allocations: 430.6 kB / 383.5 MB, free: 12.53 MB / 362.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.001126/0.07965, allocations: 0.6881 MB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.07993, allocations: 199.3 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/0.07994, allocations: 4 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.08022, allocations: 65.64 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.08079, allocations: 134.1 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9449/1.026, allocations: 0.5581 GB / 0.9336 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.372e-05/1.026, allocations: 101.5 kB / 0.9337 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000335/1.026, allocations: 167.5 kB / 0.9338 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/1.026, allocations: 123.3 kB / 0.934 GB, free: 13.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/1.026, allocations: 0 / 0.934 GB, free: 13.64 MB / 458.7 MB Notification: Performance of Templates: time 0.1781/1.204, allocations: 16.87 MB / 0.9504 GB, free: 158.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.049640218261629]