Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.001125/0.001125, allocations: 79.75 kB / 21.19 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.001289/0.001289, allocations: 161 kB / 24.56 MB, free: 12 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 1.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.629 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.2948/0.2948, allocations: 32.81 MB / 294.3 MB, free: 1.289 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_dT,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_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 376.1 MB, free: 4.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.468e-05, allocations: 2.312 kB / 376.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01032/0.01034, allocations: 11.3 MB / 387.4 MB, free: 9.277 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008913/0.01926, allocations: 11.76 MB / 399.1 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.0194, allocations: 4 kB / 399.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.01977, allocations: 71.45 kB / 399.2 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008095/0.02787, allocations: 3.201 MB / 402.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.02817, allocations: 163.6 kB / 402.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003821/0.03199, allocations: 4.048 MB / 406.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.03204, allocations: 12.59 kB / 406.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.03224, allocations: 211.4 kB / 406.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005876/0.03811, allocations: 7.344 MB / 414.2 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.03816, allocations: 8 kB / 414.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/0.04189, allocations: 2.017 MB / 416.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.861e-05/0.04199, allocations: 43.77 kB / 416.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.04211, allocations: 103.8 kB / 416.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.045, allocations: 1.753 MB / 418.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.045, allocations: 0 / 418.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.045, allocations: 0 / 418.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.04501, allocations: 4 kB / 418.1 MB, free: 10.46 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.00157/0.04658, allocations: 0.9541 MB / 419 MB, free: 9.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.04662, allocations: 8.031 kB / 419.1 MB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.04706, allocations: 148.3 kB / 419.2 MB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.0473, allocations: 204.2 kB / 419.4 MB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.04732, allocations: 20.97 kB / 419.4 MB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.04735, allocations: 32.38 kB / 419.5 MB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.04793, allocations: 475.9 kB / 419.9 MB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.04794, allocations: 192 / 419.9 MB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.04796, allocations: 16.12 kB / 419.9 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.04797, allocations: 8 kB / 419.9 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.04851, allocations: 462.4 kB / 420.4 MB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.05175, allocations: 2.919 MB / 423.3 MB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.05212, allocations: 202.8 kB / 423.5 MB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.0522, allocations: 64.22 kB / 423.6 MB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2123/0.2645, allocations: 21.31 MB / 444.9 MB, free: 88.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005854/0.2651, allocations: 382 kB / 445.3 MB, free: 87.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.604e-06/0.2651, allocations: 0 / 445.3 MB, free: 87.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.002286/0.2674, allocations: 0.9892 MB / 446.2 MB, free: 87.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.2675, allocations: 478.3 kB / 446.7 MB, free: 87.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2676, allocations: 234.4 kB / 446.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2676, allocations: 32.48 kB / 447 MB, free: 86.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.2677, allocations: 220.4 kB / 447.2 MB, free: 86.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.054e-05/0.2677, allocations: 132.7 kB / 447.3 MB, free: 86.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.2678, allocations: 102.1 kB / 447.4 MB, free: 86.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.143e-05/0.2679, allocations: 0.5042 MB / 447.9 MB, free: 86.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.268, allocations: 56.47 kB / 448 MB, free: 86.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.2682, allocations: 409 kB / 448.4 MB, free: 85.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.2686, allocations: 0.5129 MB / 448.9 MB, free: 85.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2686, allocations: 3.906 kB / 448.9 MB, free: 85.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006118/0.2692, allocations: 443.1 kB / 449.3 MB, free: 85.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.2693, allocations: 8.75 kB / 449.3 MB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.2693, allocations: 9.297 kB / 449.3 MB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.2706, allocations: 325.7 kB / 449.7 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.2709, allocations: 107.3 kB / 449.8 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004297/0.2713, allocations: 1.826 MB / 451.6 MB, free: 83.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2715, allocations: 25.33 kB / 451.6 MB, free: 83.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.2715, allocations: 32.7 kB / 451.6 MB, free: 83.26 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.2716, allocations: 195.4 kB / 451.8 MB, free: 83.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.2717, allocations: 44.03 kB / 451.9 MB, free: 83.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008127/0.2725, allocations: 0.823 MB / 452.7 MB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.2725, allocations: 8.422 kB / 452.7 MB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2725, allocations: 3.156 kB / 452.7 MB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2725, allocations: 0 / 452.7 MB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008727/0.2734, allocations: 0.9809 MB / 453.7 MB, free: 82.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.2734, allocations: 2.844 kB / 453.7 MB, free: 82.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2735, allocations: 40.36 kB / 453.7 MB, free: 82.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007784/0.2743, allocations: 223.4 kB / 454 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.2743, allocations: 12.89 kB / 454 MB, free: 82.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003312/0.2746, allocations: 1.806 MB / 455.8 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2746, allocations: 6.469 kB / 455.8 MB, free: 80.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.2751, allocations: 0.572 MB / 456.4 MB, free: 80.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.2751, allocations: 30.84 kB / 456.4 MB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.2752, allocations: 47.81 kB / 456.4 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2753, allocations: 12.8 kB / 456.4 MB, free: 80.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.2754, allocations: 32.03 kB / 456.5 MB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.2754, allocations: 15.56 kB / 456.5 MB, free: 80.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002075/0.2756, allocations: 304.6 kB / 456.8 MB, free: 80.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2756, allocations: 0 / 456.8 MB, free: 80.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001142/0.2767, allocations: 444.9 kB / 457.2 MB, free: 80.05 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.2778, allocations: 0.7039 MB / 457.9 MB, free: 79.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.2783, allocations: 322.2 kB / 458.2 MB, free: 79.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2783, allocations: 0 / 458.2 MB, free: 79.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.2784, allocations: 173 kB / 458.4 MB, free: 79.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.2791, allocations: 159 kB / 458.6 MB, free: 79.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.705/0.984, allocations: 0.4932 GB / 0.941 GB, free: 9.516 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.658e-05/0.9841, allocations: 117 kB / 0.9411 GB, free: 9.383 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.9844, allocations: 172.8 kB / 0.9412 GB, free: 9.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.9844, allocations: 32.5 kB / 0.9413 GB, free: 9.227 MB / 458.7 MB Notification: Performance of SimCode: time 1.203e-06/0.9844, allocations: 0 / 0.9413 GB, free: 9.227 MB / 458.7 MB Notification: Performance of Templates: time 0.1392/1.124, allocations: 19.14 MB / 0.96 GB, free: 133 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.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.327346127014607]