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.001354/0.001354, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001322/0.001322, allocations: 174.3 kB / 24.91 MB, free: 8.766 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 0.9851/0.9851, allocations: 177.1 MB / 205.3 MB, free: 5.434 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.279/0.279, allocations: 34.27 MB / 296.1 MB, free: 0.7266 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.293e-06/1.293e-06, allocations: 0 / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.617e-06/9.91e-06, allocations: 2.312 kB / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02071/0.02072, allocations: 24.11 MB / 349.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.02884, allocations: 9.236 MB / 358.7 MB, free: 6.152 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.0289, allocations: 0 / 358.7 MB, free: 6.152 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.02923, allocations: 87.5 kB / 358.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.0428, allocations: 7.991 MB / 366.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.0433, allocations: 350.9 kB / 367.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.04372, allocations: 0.5138 MB / 367.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.04376, allocations: 18.56 kB / 367.6 MB, free: 13.17 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.04397, allocations: 259.3 kB / 367.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004945/0.04892, allocations: 5.995 MB / 373.9 MB, free: 6.914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.04895, allocations: 12 kB / 373.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01523/0.06418, allocations: 11.84 MB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/0.06426, allocations: 91.72 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.06436, allocations: 107.8 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.07601, allocations: 7.525 MB / 393.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.07602, allocations: 0 / 393.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.07602, allocations: 0 / 393.4 MB, free: 3.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.07603, allocations: 0 / 393.4 MB, free: 3.312 MB / 362.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.00313/0.07916, allocations: 1.41 MB / 394.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.0792, allocations: 12.03 kB / 394.9 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.07935, allocations: 56.77 kB / 394.9 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.07961, allocations: 184.8 kB / 395.1 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.07962, allocations: 16.66 kB / 395.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.07966, allocations: 32 kB / 395.1 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.08007, allocations: 419.3 kB / 395.6 MB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.08008, allocations: 0 / 395.6 MB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.08011, allocations: 19.98 kB / 395.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.08014, allocations: 24.58 kB / 395.6 MB, free: 1.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.08054, allocations: 401.4 kB / 396 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.08157, allocations: 1.331 MB / 397.3 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.08193, allocations: 214.6 kB / 397.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.08199, allocations: 57.48 kB / 397.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005424/0.08741, allocations: 3.406 MB / 401 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/0.08792, allocations: 254.3 kB / 401.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.08792, allocations: 0 / 401.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006135/0.08853, allocations: 333.6 kB / 401.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.08861, allocations: 269 kB / 401.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.08871, allocations: 207.6 kB / 402 MB, free: 10.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.08873, allocations: 30.7 kB / 402.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.0888, allocations: 212 kB / 402.3 MB, free: 10.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.08885, allocations: 126.9 kB / 402.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/0.08894, allocations: 110.2 kB / 402.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.08902, allocations: 338.8 kB / 402.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.644e-05/0.08906, allocations: 45.27 kB / 402.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.08928, allocations: 330.4 kB / 403.2 MB, free: 9.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.08964, allocations: 450.1 kB / 403.6 MB, free: 8.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.08964, allocations: 0 / 403.6 MB, free: 8.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005277/0.09017, allocations: 383.5 kB / 404 MB, free: 8.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.09019, allocations: 8 kB / 404 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.0902, allocations: 8 kB / 404 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.09021, allocations: 16 kB / 404 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.09055, allocations: 171.7 kB / 404.2 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000218/0.09077, allocations: 0.6019 MB / 404.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.09092, allocations: 59.62 kB / 404.9 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.09095, allocations: 43.98 kB / 404.9 MB, free: 7.199 MB / 378.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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 9.806e-05/0.09105, allocations: 160.4 kB / 405.1 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.09116, allocations: 43.8 kB / 405.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.09162, allocations: 390.5 kB / 405.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.09163, allocations: 4 kB / 405.5 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.09163, allocations: 4.062 kB / 405.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.09163, allocations: 0 / 405.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.092, allocations: 409.7 kB / 405.9 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.092, allocations: 0 / 405.9 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.09219, allocations: 75.88 kB / 406 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.09219, allocations: 4 kB / 406 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.0922, allocations: 8 kB / 406 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001867/0.09239, allocations: 0.5821 MB / 406.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.09239, allocations: 4 kB / 406.6 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.09265, allocations: 266.3 kB / 406.8 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.09267, allocations: 35.92 kB / 406.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.0927, allocations: 11.95 kB / 406.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.09281, allocations: 11.98 kB / 406.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.09283, allocations: 23.91 kB / 406.9 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.09285, allocations: 19.92 kB / 406.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.09291, allocations: 66.8 kB / 407 MB, free: 4.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09291, allocations: 0 / 407 MB, free: 4.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002552/0.09546, allocations: 1.434 MB / 408.4 MB, free: 3.535 MB / 378.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003444/0.0989, allocations: 2.198 MB / 410.6 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.09931, allocations: 262.8 kB / 410.9 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/0.09933, allocations: 8.5 kB / 410.9 MB, free: 1.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.09948, allocations: 98.95 kB / 411 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.09982, allocations: 109.7 kB / 411.1 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2635/0.3634, allocations: 136.8 MB / 0.535 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.856e-05/0.3634, allocations: 89.81 kB / 0.5351 GB, free: 13.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004303/0.3639, allocations: 128.7 kB / 0.5352 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.3641, allocations: 143.3 kB / 0.5354 GB, free: 12.91 MB / 410.7 MB Notification: Performance of SimCode: time 2.675e-06/0.3641, allocations: 0 / 0.5354 GB, free: 12.91 MB / 410.7 MB Notification: Performance of Templates: time 0.04173/0.4059, allocations: 45.85 MB / 0.5802 GB, free: 15.34 MB / 458.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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: 6.6907967599108815]