Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009591/0.0009591, allocations: 75.77 kB / 21.18 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.0009933/0.0009933, allocations: 165 kB / 24.56 MB, free: 8 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 0.9772/0.9772, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.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.2707/0.2707, allocations: 34.26 MB / 295.7 MB, free: 188 kB / 266.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_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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.1 MB, free: 2.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.21e-05, allocations: 5.547 kB / 378.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01295/0.01297, allocations: 11.29 MB / 389.4 MB, free: 7.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009094/0.02206, allocations: 11.76 MB / 401.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.02219, allocations: 0 / 401.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.02252, allocations: 75.45 kB / 401.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006552/0.02907, allocations: 3.209 MB / 404.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.02936, allocations: 151.8 kB / 404.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003988/0.03334, allocations: 4.052 MB / 408.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.0334, allocations: 8.594 kB / 408.6 MB, free: 3.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.0336, allocations: 207.5 kB / 408.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006093/0.03969, allocations: 7.328 MB / 416.2 MB, free: 12.23 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.03973, allocations: 8 kB / 416.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003355/0.04308, allocations: 2.278 MB / 418.5 MB, free: 9.941 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.04316, allocations: 47.77 kB / 418.5 MB, free: 9.895 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.334e-05/0.04325, allocations: 95.75 kB / 418.6 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.04549, allocations: 1.96 MB / 420.6 MB, free: 7.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.04549, allocations: 4 kB / 420.6 MB, free: 7.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.0455, allocations: 0 / 420.6 MB, free: 7.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.0455, allocations: 0 / 420.6 MB, free: 7.832 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.001671/0.04717, allocations: 1.008 MB / 421.6 MB, free: 6.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.04721, allocations: 12.03 kB / 421.6 MB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.04764, allocations: 148.3 kB / 421.7 MB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.04787, allocations: 196.2 kB / 421.9 MB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.04789, allocations: 21.03 kB / 421.9 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.04792, allocations: 32.38 kB / 422 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.0485, allocations: 464 kB / 422.4 MB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.04851, allocations: 4.125 kB / 422.4 MB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.04854, allocations: 20.12 kB / 422.4 MB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.04855, allocations: 8 kB / 422.5 MB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.0491, allocations: 466.4 kB / 422.9 MB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003373/0.05247, allocations: 2.931 MB / 425.8 MB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.05284, allocations: 195.8 kB / 426 MB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.05292, allocations: 60.28 kB / 426.1 MB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2235/0.2764, allocations: 22.21 MB / 448.3 MB, free: 86.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005479/0.277, allocations: 392 kB / 448.7 MB, free: 85.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.096e-06/0.277, allocations: 0 / 448.7 MB, free: 85.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001749/0.2787, allocations: 0.8761 MB / 449.6 MB, free: 85.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.2788, allocations: 482.3 kB / 450 MB, free: 84.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.2789, allocations: 235.7 kB / 450.3 MB, free: 84.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.279, allocations: 32.17 kB / 450.3 MB, free: 84.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.279, allocations: 217.1 kB / 450.5 MB, free: 84.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/0.2791, allocations: 130.6 kB / 450.6 MB, free: 84.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.2792, allocations: 101.1 kB / 450.7 MB, free: 84.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.2793, allocations: 0.4992 MB / 451.2 MB, free: 83.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.2794, allocations: 53.58 kB / 451.3 MB, free: 83.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.2796, allocations: 408.6 kB / 451.7 MB, free: 83.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.2799, allocations: 0.5074 MB / 452.2 MB, free: 83.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2799, allocations: 2.781 kB / 452.2 MB, free: 83.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004499/0.2804, allocations: 399.4 kB / 452.6 MB, free: 83.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2804, allocations: 7.781 kB / 452.6 MB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2804, allocations: 10.66 kB / 452.6 MB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.2804, allocations: 15.09 kB / 452.6 MB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.2814, allocations: 342.8 kB / 452.9 MB, free: 83.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003764/0.2818, allocations: 1.803 MB / 454.7 MB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.282, allocations: 27.14 kB / 454.8 MB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.282, allocations: 31.59 kB / 454.8 MB, free: 81.22 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.0001366/0.2822, allocations: 202.8 kB / 455 MB, free: 81.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.2822, allocations: 46.3 kB / 455.1 MB, free: 81.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007793/0.283, allocations: 0.7455 MB / 455.8 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.283, allocations: 5.406 kB / 455.8 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.283, allocations: 6.188 kB / 455.8 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.283, allocations: 2.719 kB / 455.8 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009443/0.284, allocations: 0.8979 MB / 456.7 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.284, allocations: 6.891 kB / 456.7 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.2845, allocations: 150 kB / 456.9 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.2845, allocations: 2.688 kB / 456.9 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2846, allocations: 9.375 kB / 456.9 MB, free: 80.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000178/0.2847, allocations: 0.9012 MB / 457.8 MB, free: 79.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2847, allocations: 3 kB / 457.8 MB, free: 79.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.2852, allocations: 0.5259 MB / 458.3 MB, free: 79.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.2852, allocations: 30.92 kB / 458.3 MB, free: 79.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.2852, allocations: 51.52 kB / 458.4 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2854, allocations: 16.81 kB / 458.4 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.2854, allocations: 30.81 kB / 458.4 MB, free: 79.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2854, allocations: 16.11 kB / 458.4 MB, free: 79.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002083/0.2856, allocations: 304.5 kB / 458.7 MB, free: 79.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2856, allocations: 0 / 458.7 MB, free: 79.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001244/0.2869, allocations: 465.7 kB / 459.2 MB, free: 78.95 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.001218/0.2881, allocations: 0.7375 MB / 459.9 MB, free: 78.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009487/0.2891, allocations: 348.7 kB / 460.3 MB, free: 78.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.2891, allocations: 10.45 kB / 460.3 MB, free: 78.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.2895, allocations: 174.5 kB / 460.5 MB, free: 78.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.29, allocations: 164.7 kB / 460.6 MB, free: 78.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9889/1.279, allocations: 0.5385 GB / 0.9883 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.193e-05/1.279, allocations: 110.5 kB / 0.9884 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003765/1.279, allocations: 173.1 kB / 0.9885 GB, free: 117.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/1.28, allocations: 40.48 kB / 0.9886 GB, free: 117.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.425e-06/1.28, allocations: 4 kB / 0.9886 GB, free: 117.4 MB / 458.7 MB Notification: Performance of Templates: time 0.01842/1.298, allocations: 16.01 MB / 1.004 GB, free: 109.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.718621131964028]