Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001039/0.001039, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00123/0.00123, allocations: 173.9 kB / 25.61 MB, free: 8.582 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 1.033/1.033, allocations: 177.1 MB / 206 MB, free: 4.52 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.1718/0.1718, allocations: 32.79 MB / 295.4 MB, free: 15.37 MB / 282.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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.384e-05, allocations: 2.312 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.01881/0.01884, allocations: 23.79 MB / 401.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007949/0.02679, allocations: 9.113 MB / 410.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.02694, allocations: 0 / 410.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.02734, allocations: 87.45 kB / 410.3 MB, free: 8.422 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01912/0.04646, allocations: 8.698 MB / 419 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.04718, allocations: 362.9 kB / 419.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.04782, allocations: 0.5138 MB / 419.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.192e-05/0.04788, allocations: 12.59 kB / 419.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.0482, allocations: 259.3 kB / 420.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007335/0.05554, allocations: 6.042 MB / 426.2 MB, free: 8.512 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.0556, allocations: 12 kB / 426.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01824/0.07384, allocations: 11.15 MB / 437.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.07397, allocations: 103.7 kB / 437.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.07413, allocations: 111.7 kB / 437.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02072/0.09485, allocations: 7.521 MB / 445.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.09486, allocations: 4 kB / 445.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.09486, allocations: 0 / 445.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.09487, allocations: 0 / 445.1 MB, free: 5.578 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.004151/0.09902, allocations: 1.538 MB / 446.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.09907, allocations: 11.98 kB / 446.6 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.09929, allocations: 60.69 kB / 446.7 MB, free: 3.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.09957, allocations: 199.6 kB / 446.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.09959, allocations: 16.66 kB / 446.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.09962, allocations: 31.98 kB / 446.9 MB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.1001, allocations: 435.1 kB / 447.3 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1001, allocations: 0 / 447.3 MB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.1002, allocations: 15.98 kB / 447.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.1002, allocations: 28.56 kB / 447.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.1006, allocations: 418.6 kB / 447.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.102, allocations: 1.792 MB / 449.6 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.1024, allocations: 240.2 kB / 449.8 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.796e-05/0.1025, allocations: 72.22 kB / 449.9 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00639/0.1089, allocations: 3.408 MB / 453.3 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.1093, allocations: 281.6 kB / 453.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/0.1093, allocations: 0 / 453.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001341/0.1106, allocations: 0.589 MB / 454.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.1107, allocations: 269.1 kB / 454.4 MB, free: 11.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1109, allocations: 286.8 kB / 454.7 MB, free: 11.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1109, allocations: 33.7 kB / 454.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.111, allocations: 246.8 kB / 455 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.1111, allocations: 134.9 kB / 455.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1112, allocations: 131.9 kB / 455.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1113, allocations: 0.5079 MB / 455.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.1114, allocations: 57.25 kB / 455.8 MB, free: 10.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.1117, allocations: 449.2 kB / 456.2 MB, free: 9.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.1122, allocations: 0.5638 MB / 456.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1122, allocations: 4 kB / 456.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006936/0.1129, allocations: 468.5 kB / 457.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1129, allocations: 12.97 kB / 457.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1129, allocations: 8 kB / 457.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1129, allocations: 12 kB / 457.3 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.1133, allocations: 183.7 kB / 457.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006346/0.1139, allocations: 1.802 MB / 459.3 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.1141, allocations: 31.94 kB / 459.3 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.1141, allocations: 43.98 kB / 459.3 MB, free: 6.43 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 (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.0001263/0.1143, allocations: 200.3 kB / 459.5 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.1144, allocations: 59.61 kB / 459.6 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.115, allocations: 496.2 kB / 460.1 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.115, allocations: 4 kB / 460.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.115, allocations: 0 / 460.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.115, allocations: 3.984 kB / 460.1 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.1155, allocations: 0.5295 MB / 460.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1155, allocations: 4 kB / 460.6 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.1158, allocations: 84.03 kB / 460.7 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.1158, allocations: 8 kB / 460.7 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1158, allocations: 7.984 kB / 460.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/0.1163, allocations: 1.794 MB / 462.5 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1163, allocations: 0 / 462.5 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.1167, allocations: 365.8 kB / 462.9 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.1167, allocations: 31.78 kB / 462.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1168, allocations: 7.938 kB / 462.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.1169, allocations: 16.11 kB / 462.9 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.1169, allocations: 23.97 kB / 463 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1169, allocations: 11.98 kB / 463 MB, free: 2.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.117, allocations: 193.1 kB / 463.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.117, allocations: 0 / 463.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004024/0.121, allocations: 1.632 MB / 464.8 MB, free: 0.7734 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 (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.006071/0.1271, allocations: 2.485 MB / 467.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008831/0.128, allocations: 309.6 kB / 467.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.128, allocations: 0 / 467.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.1283, allocations: 115.5 kB / 467.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.1288, allocations: 127.6 kB / 467.8 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2719/0.4008, allocations: 141.8 MB / 0.5953 GB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.301e-05/0.4008, allocations: 82.59 kB / 0.5954 GB, free: 6.379 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003654/0.4012, allocations: 130.2 kB / 0.5955 GB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.4014, allocations: 182.1 kB / 0.5957 GB, free: 6.098 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.4014, allocations: 0 / 0.5957 GB, free: 6.098 MB / 410.7 MB Notification: Performance of Templates: time 0.05516/0.4566, allocations: 54.06 MB / 0.6485 GB, free: 320 kB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.955478260759264]