Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.001156/0.001156, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001214/0.001214, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.3332/0.3332, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 179] 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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.967e-05/4.206e-05, allocations: 2.312 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01389/0.01393, allocations: 11.18 MB / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.02454, allocations: 11.58 MB / 399.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.0248, allocations: 0 / 399.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004445/0.02524, allocations: 75.47 kB / 399.4 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.03775, allocations: 3.205 MB / 402.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.03826, allocations: 159.7 kB / 402.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005372/0.04363, allocations: 4.083 MB / 406.8 MB, free: 5.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.04373, allocations: 12.59 kB / 406.8 MB, free: 5.941 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.04408, allocations: 199.5 kB / 407 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007714/0.0518, allocations: 7.398 MB / 414.4 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.623e-05/0.05187, allocations: 8 kB / 414.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006126/0.058, allocations: 2.29 MB / 416.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.05813, allocations: 47.77 kB / 416.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.05834, allocations: 95.75 kB / 416.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006211/0.06455, allocations: 1.964 MB / 418.8 MB, free: 9.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.06456, allocations: 0 / 418.8 MB, free: 9.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.06456, allocations: 0 / 418.8 MB, free: 9.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.06457, allocations: 0 / 418.8 MB, free: 9.93 MB / 394.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.002136/0.0667, allocations: 1.008 MB / 419.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.991e-05/0.06677, allocations: 12.03 kB / 419.8 MB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005816/0.06735, allocations: 148.3 kB / 420 MB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.06768, allocations: 196.2 kB / 420.2 MB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.0677, allocations: 21.03 kB / 420.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.06776, allocations: 32.38 kB / 420.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.06844, allocations: 447.9 kB / 420.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.06845, allocations: 4.172 kB / 420.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.06848, allocations: 20.06 kB / 420.7 MB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.0685, allocations: 8 kB / 420.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.06905, allocations: 400.9 kB / 421.1 MB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/0.07335, allocations: 2.81 MB / 423.9 MB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.07378, allocations: 183.8 kB / 424.1 MB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.07386, allocations: 60.27 kB / 424.1 MB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3022/0.3761, allocations: 20.88 MB / 445 MB, free: 88.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006695/0.3767, allocations: 380.9 kB / 445.4 MB, free: 88.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.424e-06/0.3767, allocations: 0 / 445.4 MB, free: 88.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001703/0.3785, allocations: 0.586 MB / 446 MB, free: 88.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.3786, allocations: 483.5 kB / 446.4 MB, free: 87.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3788, allocations: 233.7 kB / 446.7 MB, free: 87.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3788, allocations: 32.58 kB / 446.7 MB, free: 87.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.3789, allocations: 213.4 kB / 446.9 MB, free: 87.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.379, allocations: 137.7 kB / 447 MB, free: 87.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3791, allocations: 101 kB / 447.1 MB, free: 87.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3792, allocations: 0.5004 MB / 447.6 MB, free: 86.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.3793, allocations: 44.2 kB / 447.7 MB, free: 86.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.3795, allocations: 407 kB / 448.1 MB, free: 86.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.3798, allocations: 492.3 kB / 448.6 MB, free: 85.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3798, allocations: 4.562 kB / 448.6 MB, free: 85.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004239/0.3802, allocations: 372.7 kB / 448.9 MB, free: 85.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.3803, allocations: 12.06 kB / 448.9 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3803, allocations: 7.812 kB / 449 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.3803, allocations: 12.06 kB / 449 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.3813, allocations: 351.1 kB / 449.3 MB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006415/0.382, allocations: 1.798 MB / 451.1 MB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.3822, allocations: 23.64 kB / 451.1 MB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.3822, allocations: 37.23 kB / 451.2 MB, free: 83.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.3823, allocations: 199.3 kB / 451.4 MB, free: 83.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.3824, allocations: 45.09 kB / 451.4 MB, free: 83.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/0.3831, allocations: 0.7228 MB / 452.1 MB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.3832, allocations: 12.83 kB / 452.1 MB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3832, allocations: 2.875 kB / 452.1 MB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3832, allocations: 6.75 kB / 452.2 MB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.3841, allocations: 0.8129 MB / 453 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.3841, allocations: 2.906 kB / 453 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005752/0.3847, allocations: 143.4 kB / 453.1 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.3847, allocations: 5.781 kB / 453.1 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3847, allocations: 9.781 kB / 453.1 MB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002863/0.385, allocations: 0.8994 MB / 454 MB, free: 82.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.385, allocations: 8.062 kB / 454 MB, free: 82.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.3854, allocations: 0.5047 MB / 454.5 MB, free: 81.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.3855, allocations: 28.45 kB / 454.6 MB, free: 81.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.3855, allocations: 49.78 kB / 454.6 MB, free: 81.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3857, allocations: 14.48 kB / 454.6 MB, free: 81.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.3857, allocations: 25.17 kB / 454.6 MB, free: 81.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3857, allocations: 12.47 kB / 454.7 MB, free: 81.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3859, allocations: 291.8 kB / 454.9 MB, free: 81.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3859, allocations: 0 / 454.9 MB, free: 81.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001483/0.3874, allocations: 471.6 kB / 455.4 MB, free: 81.76 MB / 410.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/0.3887, allocations: 0.7821 MB / 456.2 MB, free: 81.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008912/0.3896, allocations: 337.1 kB / 456.5 MB, free: 81.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3896, allocations: 0 / 456.5 MB, free: 81.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.3899, allocations: 165 kB / 456.7 MB, free: 81.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.3905, allocations: 164.4 kB / 456.8 MB, free: 81.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9638/1.354, allocations: 0.5394 GB / 0.9855 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/1.354, allocations: 108.6 kB / 0.9856 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003183/1.355, allocations: 160.8 kB / 0.9858 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/1.355, allocations: 172.7 kB / 0.9859 GB, free: 125.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.104e-06/1.355, allocations: 0 / 0.9859 GB, free: 125.7 MB / 458.7 MB Notification: Performance of Templates: time 0.01966/1.375, allocations: 18.68 MB / 1.004 GB, free: 116.1 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.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.6022471152246]