Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.001115/0.001115, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00125/0.00125, allocations: 165 kB / 24.56 MB, free: 16 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.9983/0.9983, allocations: 177.1 MB / 205 MB, free: 5.289 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.3065/0.3065, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 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.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.909e-05/3.065e-05, allocations: 4.562 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02335/0.02338, allocations: 24.13 MB / 402.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008769/0.03215, allocations: 9.257 MB / 411.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.03232, allocations: 4 kB / 411.5 MB, free: 1.113 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.03275, allocations: 79.58 kB / 411.5 MB, free: 1.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02196/0.05471, allocations: 8.705 MB / 420.2 MB, free: 8.297 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.05585, allocations: 366.9 kB / 420.6 MB, free: 7.938 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.05717, allocations: 0.5139 MB / 421.1 MB, free: 7.422 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.05728, allocations: 12.59 kB / 421.1 MB, free: 7.41 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.0578, allocations: 259.3 kB / 421.4 MB, free: 7.156 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007586/0.06539, allocations: 6.03 MB / 427.4 MB, free: 1.121 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.06546, allocations: 12 kB / 427.4 MB, free: 1.109 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01787/0.08333, allocations: 11.16 MB / 438.6 MB, free: 5.938 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.08346, allocations: 91.7 kB / 438.7 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.08365, allocations: 115.7 kB / 438.8 MB, free: 5.734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2002/0.2838, allocations: 7.514 MB / 446.3 MB, free: 65.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2839, allocations: 3.188 kB / 446.3 MB, free: 65.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2839, allocations: 0 / 446.3 MB, free: 65.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.2839, allocations: 0 / 446.3 MB, free: 65.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003585/0.2875, allocations: 1.534 MB / 447.8 MB, free: 64.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2875, allocations: 8.156 kB / 447.8 MB, free: 64.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.2877, allocations: 68.22 kB / 447.9 MB, free: 64.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.2879, allocations: 183.6 kB / 448.1 MB, free: 64.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.288, allocations: 21.59 kB / 448.1 MB, free: 64.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.288, allocations: 35.12 kB / 448.1 MB, free: 64.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.2885, allocations: 464.8 kB / 448.6 MB, free: 64.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2885, allocations: 3.844 kB / 448.6 MB, free: 64.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.2885, allocations: 13.91 kB / 448.6 MB, free: 64.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.2886, allocations: 24.73 kB / 448.6 MB, free: 64.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.289, allocations: 499 kB / 449.1 MB, free: 64.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.2903, allocations: 1.824 MB / 451 MB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000486/0.2908, allocations: 251.5 kB / 451.2 MB, free: 62.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.2909, allocations: 79.97 kB / 451.3 MB, free: 62.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007885/0.2988, allocations: 3.675 MB / 455 MB, free: 62.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/0.2991, allocations: 282.4 kB / 455.2 MB, free: 62.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.534e-06/0.2991, allocations: 4 kB / 455.2 MB, free: 62.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001494/0.3006, allocations: 0.7717 MB / 456 MB, free: 61.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3007, allocations: 270.1 kB / 456.3 MB, free: 61.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3008, allocations: 279.9 kB / 456.5 MB, free: 61.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3008, allocations: 39.98 kB / 456.6 MB, free: 61.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.3009, allocations: 250.7 kB / 456.8 MB, free: 61.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.301, allocations: 136.8 kB / 457 MB, free: 60.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3011, allocations: 130 kB / 457.1 MB, free: 60.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.3011, allocations: 0.5039 MB / 457.6 MB, free: 60.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.3012, allocations: 67.28 kB / 457.7 MB, free: 60.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.3015, allocations: 465.7 kB / 458.1 MB, free: 59.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.302, allocations: 0.5715 MB / 458.7 MB, free: 59.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.302, allocations: 3.219 kB / 458.7 MB, free: 59.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007474/0.3027, allocations: 0.4987 MB / 459.2 MB, free: 59.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3027, allocations: 9.969 kB / 459.2 MB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3028, allocations: 9.562 kB / 459.2 MB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.3028, allocations: 13.62 kB / 459.2 MB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.3032, allocations: 180.4 kB / 459.4 MB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003837/0.3035, allocations: 1.816 MB / 461.2 MB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.3037, allocations: 20.69 kB / 461.2 MB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.3038, allocations: 48.56 kB / 461.3 MB, free: 57.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * 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.0001104/0.3039, allocations: 196 kB / 461.5 MB, free: 57.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.304, allocations: 61.64 kB / 461.5 MB, free: 57.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/0.3046, allocations: 0.4886 MB / 462 MB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3046, allocations: 6.969 kB / 462 MB, free: 57.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3046, allocations: 0 / 462 MB, free: 57.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3046, allocations: 3.188 kB / 462 MB, free: 57.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.3051, allocations: 0.5703 MB / 462.6 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3052, allocations: 10.59 kB / 462.6 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.3054, allocations: 83.69 kB / 462.7 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3054, allocations: 6.656 kB / 462.7 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3054, allocations: 10.25 kB / 462.7 MB, free: 56.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002905/0.3057, allocations: 1.788 MB / 464.5 MB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3057, allocations: 3.062 kB / 464.5 MB, free: 54.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.306, allocations: 382.9 kB / 464.9 MB, free: 54.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.3061, allocations: 31.16 kB / 464.9 MB, free: 54.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.3061, allocations: 14.66 kB / 464.9 MB, free: 54.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3062, allocations: 17.22 kB / 464.9 MB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.3063, allocations: 20.72 kB / 464.9 MB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.3063, allocations: 15.84 kB / 465 MB, free: 54.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.3064, allocations: 200.6 kB / 465.2 MB, free: 54.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3064, allocations: 0 / 465.2 MB, free: 54.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003974/0.3103, allocations: 1.639 MB / 466.8 MB, free: 54.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.006527/0.3169, allocations: 2.437 MB / 469.2 MB, free: 53.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000859/0.3177, allocations: 305.8 kB / 469.5 MB, free: 53.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3177, allocations: 3.125 kB / 469.5 MB, free: 53.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.318, allocations: 118.4 kB / 469.7 MB, free: 53.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.3185, allocations: 133.5 kB / 469.8 MB, free: 53.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1467/0.4652, allocations: 141.8 MB / 0.5973 GB, free: 1.848 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.4653, allocations: 92.12 kB / 0.5974 GB, free: 1.738 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003775/0.4656, allocations: 138.9 kB / 0.5975 GB, free: 1.617 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4658, allocations: 56.47 kB / 0.5975 GB, free: 1.562 MB / 458.7 MB Notification: Performance of SimCode: time 1.774e-06/0.4658, allocations: 0 / 0.5975 GB, free: 1.562 MB / 458.7 MB Notification: Performance of Templates: time 0.1799/0.6457, allocations: 46.47 MB / 0.6429 GB, free: 126.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.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: 7.876529878005385]