Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2946/0.2946, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.478e-05, allocations: 2.312 kB / 378.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.00974/0.009775, allocations: 11.26 MB / 390.1 MB, free: 7.043 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008969/0.01874, allocations: 11.73 MB / 401.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.01892, allocations: 0 / 401.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.01926, allocations: 67.52 kB / 401.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007981/0.02724, allocations: 3.181 MB / 405 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.02756, allocations: 147.7 kB / 405.2 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.03182, allocations: 4.017 MB / 409.2 MB, free: 3.836 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.03189, allocations: 8.594 kB / 409.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.03216, allocations: 195.5 kB / 409.4 MB, free: 3.633 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006869/0.03902, allocations: 7.316 MB / 416.7 MB, free: 12.31 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.03909, allocations: 8 kB / 416.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/0.04313, allocations: 2.013 MB / 418.7 MB, free: 10.29 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.04322, allocations: 47.73 kB / 418.8 MB, free: 10.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.04335, allocations: 95.78 kB / 418.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.04698, allocations: 1.75 MB / 420.6 MB, free: 8.391 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.04699, allocations: 0 / 420.6 MB, free: 8.391 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.04699, allocations: 0 / 420.6 MB, free: 8.391 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.04699, allocations: 0 / 420.6 MB, free: 8.391 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.002053/0.04905, allocations: 0.9541 MB / 421.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.04909, allocations: 12.03 kB / 421.6 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/0.04976, allocations: 152.3 kB / 421.7 MB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.05004, allocations: 204.2 kB / 421.9 MB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.05006, allocations: 21.03 kB / 422 MB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.05011, allocations: 28.38 kB / 422 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000805/0.05091, allocations: 475.9 kB / 422.5 MB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.05092, allocations: 4.125 kB / 422.5 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.05096, allocations: 16.12 kB / 422.5 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.05097, allocations: 4 kB / 422.5 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.05177, allocations: 462.4 kB / 422.9 MB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004144/0.05592, allocations: 2.927 MB / 425.9 MB, free: 2.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.05646, allocations: 205.7 kB / 426.1 MB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.05656, allocations: 64.22 kB / 426.1 MB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2191/0.2756, allocations: 21.3 MB / 447.4 MB, free: 89.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000526/0.2762, allocations: 383.2 kB / 447.8 MB, free: 89.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.835e-06/0.2762, allocations: 0 / 447.8 MB, free: 89.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.002048/0.2782, allocations: 0.9827 MB / 448.8 MB, free: 89.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.2783, allocations: 482.3 kB / 449.2 MB, free: 88.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2784, allocations: 234.5 kB / 449.5 MB, free: 88.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2784, allocations: 32.27 kB / 449.5 MB, free: 88.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.2785, allocations: 213.4 kB / 449.7 MB, free: 88.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.2785, allocations: 133.3 kB / 449.8 MB, free: 88.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.2786, allocations: 100.3 kB / 449.9 MB, free: 88.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.2787, allocations: 0.5014 MB / 450.4 MB, free: 87.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.2788, allocations: 58.27 kB / 450.5 MB, free: 87.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.2789, allocations: 413 kB / 450.9 MB, free: 87.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.2793, allocations: 0.5171 MB / 451.4 MB, free: 86.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2793, allocations: 2.875 kB / 451.4 MB, free: 86.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005411/0.2798, allocations: 441.6 kB / 451.9 MB, free: 86.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2799, allocations: 8.781 kB / 451.9 MB, free: 86.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2799, allocations: 12.53 kB / 451.9 MB, free: 86.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.281, allocations: 324.5 kB / 452.2 MB, free: 86.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.2812, allocations: 106.7 kB / 452.3 MB, free: 86.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004047/0.2816, allocations: 1.83 MB / 454.1 MB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.2817, allocations: 23.2 kB / 454.2 MB, free: 84.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.2818, allocations: 29.92 kB / 454.2 MB, free: 84.95 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.0001066/0.2819, allocations: 199.1 kB / 454.4 MB, free: 84.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.2819, allocations: 40.42 kB / 454.4 MB, free: 84.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007173/0.2826, allocations: 0.8236 MB / 455.2 MB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2827, allocations: 9.25 kB / 455.2 MB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2827, allocations: 6.344 kB / 455.3 MB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2827, allocations: 0 / 455.3 MB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.2835, allocations: 0.9797 MB / 456.2 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.2835, allocations: 2.875 kB / 456.2 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.2835, allocations: 38.77 kB / 456.3 MB, free: 84.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006366/0.2842, allocations: 217.1 kB / 456.5 MB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2842, allocations: 12.09 kB / 456.5 MB, free: 84.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003224/0.2845, allocations: 1.808 MB / 458.3 MB, free: 82.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2845, allocations: 5.297 kB / 458.3 MB, free: 82.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.285, allocations: 0.5787 MB / 458.9 MB, free: 81.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.285, allocations: 25.17 kB / 458.9 MB, free: 81.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.2851, allocations: 50.86 kB / 459 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2852, allocations: 12.53 kB / 459 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.2852, allocations: 26.47 kB / 459 MB, free: 81.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.2852, allocations: 15.94 kB / 459 MB, free: 81.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001857/0.2854, allocations: 299 kB / 459.3 MB, free: 81.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2854, allocations: 0 / 459.3 MB, free: 81.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00114/0.2866, allocations: 458 kB / 459.8 MB, free: 81.71 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.00118/0.2877, allocations: 0.6953 MB / 460.5 MB, free: 81.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004783/0.2882, allocations: 320.5 kB / 460.8 MB, free: 81.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2882, allocations: 2.719 kB / 460.8 MB, free: 81.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.2884, allocations: 174.8 kB / 460.9 MB, free: 81.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.2889, allocations: 170.3 kB / 461.1 MB, free: 81.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7414/1.03, allocations: 0.4918 GB / 0.9421 GB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/1.03, allocations: 109.8 kB / 0.9422 GB, free: 15.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004031/1.031, allocations: 168.1 kB / 0.9423 GB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/1.031, allocations: 40.48 kB / 0.9424 GB, free: 15.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.926e-06/1.031, allocations: 4 kB / 0.9424 GB, free: 15.19 MB / 458.7 MB Notification: Performance of Templates: time 0.1823/1.213, allocations: 15.98 MB / 0.958 GB, free: 151.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5213241938035935]