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.0007804/0.0007804, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001824, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007439/0.0007439, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.001714, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9637/0.9637, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09592/1.06, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2851/0.2851, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03807/0.3231, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.473e-06/1.473e-06, allocations: 0 / 292.7 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.22e-05, allocations: 4.562 kB / 292.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02194/0.02197, allocations: 24.23 MB / 316.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007786/0.02975, allocations: 9.291 MB / 326.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.02988, allocations: 0 / 326.2 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.03018, allocations: 91.5 kB / 326.3 MB, free: 4.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01757/0.04774, allocations: 7.95 MB / 334.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007231/0.04847, allocations: 350.9 kB / 334.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006628/0.04913, allocations: 0.5139 MB / 335.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.04919, allocations: 10.56 kB / 335.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.04954, allocations: 271.3 kB / 335.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007402/0.05694, allocations: 5.424 MB / 340.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.05699, allocations: 12 kB / 340.8 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01953/0.07652, allocations: 11.86 MB / 352.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.07662, allocations: 75.78 kB / 352.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.07677, allocations: 91.86 kB / 352.8 MB, free: 9.922 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.09383, allocations: 5.878 MB / 358.7 MB, free: 4.031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.09385, allocations: 0 / 358.7 MB, free: 4.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.09385, allocations: 4 kB / 358.7 MB, free: 4.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.09387, allocations: 0 / 358.7 MB, free: 4.027 MB / 346.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.00401/0.09788, allocations: 2.047 MB / 360.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.09792, allocations: 12.02 kB / 360.8 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.09808, allocations: 56.83 kB / 360.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.09832, allocations: 184.7 kB / 361 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.09834, allocations: 20.64 kB / 361 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.09838, allocations: 28 kB / 361 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.0989, allocations: 415.4 kB / 361.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.09892, allocations: 0 / 361.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.09895, allocations: 15.98 kB / 361.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/0.09899, allocations: 28.64 kB / 361.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.0995, allocations: 397.4 kB / 361.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.1009, allocations: 1.335 MB / 363.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.1014, allocations: 206.2 kB / 363.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.1014, allocations: 61.48 kB / 363.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005668/0.1071, allocations: 3.402 MB / 366.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.1074, allocations: 258.3 kB / 367.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.1074, allocations: 0 / 367.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006345/0.108, allocations: 336.4 kB / 367.5 MB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.1081, allocations: 265 kB / 367.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1082, allocations: 215.6 kB / 367.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1082, allocations: 33.7 kB / 368 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.1083, allocations: 204 kB / 368.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.1084, allocations: 126.9 kB / 368.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.1085, allocations: 110.2 kB / 368.4 MB, free: 9.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.1085, allocations: 334.8 kB / 368.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.1086, allocations: 45.53 kB / 368.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1088, allocations: 334.5 kB / 369.1 MB, free: 9.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.1092, allocations: 442.2 kB / 369.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1092, allocations: 4 kB / 369.5 MB, free: 8.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005265/0.1097, allocations: 375.9 kB / 369.9 MB, free: 8.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1098, allocations: 12 kB / 369.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1098, allocations: 8 kB / 369.9 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1098, allocations: 12 kB / 369.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.1102, allocations: 199.7 kB / 370.1 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000234/0.1104, allocations: 0.5977 MB / 370.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1106, allocations: 59.52 kB / 370.8 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.1106, allocations: 43.98 kB / 370.8 MB, free: 7.258 MB / 362.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 0.0001018/0.1107, allocations: 160.5 kB / 371 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1108, allocations: 43.84 kB / 371 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.1113, allocations: 387.6 kB / 371.4 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1113, allocations: 7.984 kB / 371.4 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1113, allocations: 0 / 371.4 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1113, allocations: 0 / 371.4 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.1117, allocations: 403.4 kB / 371.8 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1117, allocations: 4 kB / 371.8 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.1119, allocations: 87.84 kB / 371.9 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.1119, allocations: 27.95 kB / 371.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1119, allocations: 4 kB / 371.9 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1119, allocations: 11.98 kB / 371.9 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001873/0.1121, allocations: 0.582 MB / 372.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1121, allocations: 0 / 372.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1124, allocations: 271.4 kB / 372.8 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.1124, allocations: 11.95 kB / 372.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1125, allocations: 11.98 kB / 372.8 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.1125, allocations: 27.97 kB / 372.8 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1125, allocations: 15.98 kB / 372.8 MB, free: 5.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.1126, allocations: 70.78 kB / 372.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1126, allocations: 0 / 372.9 MB, free: 5.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0029/0.1155, allocations: 1.453 MB / 374.4 MB, free: 3.566 MB / 362.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.003899/0.1194, allocations: 2.254 MB / 376.6 MB, free: 1.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.1198, allocations: 219.5 kB / 376.8 MB, free: 1.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-05/0.1198, allocations: 8.5 kB / 376.8 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1199, allocations: 72.61 kB / 376.9 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.1205, allocations: 173.2 kB / 377.1 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2798/0.4003, allocations: 136.8 MB / 0.5018 GB, free: 60.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.031e-05/0.4004, allocations: 89.81 kB / 0.5019 GB, free: 60.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003627/0.4008, allocations: 126.5 kB / 0.502 GB, free: 60.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.401, allocations: 143.3 kB / 0.5022 GB, free: 60.06 MB / 426.7 MB Notification: Performance of SimCode: time 2.224e-06/0.401, allocations: 0 / 0.5022 GB, free: 60.06 MB / 426.7 MB Notification: Performance of Templates: time 0.04082/0.4418, allocations: 46.27 MB / 0.5473 GB, free: 14.07 MB / 426.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 -emit_protected -ignoreHideResult -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.936477310024202]