Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.00191/0.00191, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002068/0.002068, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.667/1.667, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3698/0.3698, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.WaterIF97_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.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.37e-06/5.37e-06, allocations: 4 kB / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.186e-05/4.723e-05, allocations: 2.312 kB / 377.3 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.02356/0.02361, allocations: 13.9 MB / 391.2 MB, free: 4.953 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04106/0.06466, allocations: 26.13 MB / 417.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.06503, allocations: 4 kB / 417.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.06555, allocations: 87.36 kB / 417.5 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03013/0.09567, allocations: 8.615 MB / 426.1 MB, free: 1.988 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.09683, allocations: 350.7 kB / 426.4 MB, free: 1.645 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005546/0.1024, allocations: 2.021 MB / 428.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.712e-05/0.1024, allocations: 16.44 kB / 428.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.1032, allocations: 310.8 kB / 428.8 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008458/0.1116, allocations: 3.258 MB / 432 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.926e-05/0.1117, allocations: 8 kB / 432 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0266/0.1383, allocations: 11.11 MB / 443.1 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.1385, allocations: 55.69 kB / 443.2 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003911/0.1389, allocations: 103.8 kB / 443.3 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2814/0.4202, allocations: 8.576 MB / 451.9 MB, free: 61.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4202, allocations: 0 / 451.9 MB, free: 61.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.4202, allocations: 0 / 451.9 MB, free: 61.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.4203, allocations: 0 / 451.9 MB, free: 61.31 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006223/0.4265, allocations: 1.695 MB / 453.6 MB, free: 60.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4265, allocations: 8.562 kB / 453.6 MB, free: 60.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.428, allocations: 308.6 kB / 453.9 MB, free: 60.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.4284, allocations: 220.5 kB / 454.1 MB, free: 60.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4284, allocations: 22.59 kB / 454.1 MB, free: 60.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.4284, allocations: 32.03 kB / 454.1 MB, free: 60.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.4303, allocations: 0.8592 MB / 455 MB, free: 59.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4304, allocations: 0 / 455 MB, free: 59.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.4304, allocations: 20.28 kB / 455 MB, free: 59.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4304, allocations: 12.25 kB / 455 MB, free: 59.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.4324, allocations: 0.8091 MB / 455.8 MB, free: 59.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.4351, allocations: 2.747 MB / 458.6 MB, free: 57.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.4362, allocations: 353.6 kB / 458.9 MB, free: 57.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.4364, allocations: 74.08 kB / 459 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3586/0.7949, allocations: 100.4 MB / 0.5463 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.7965, allocations: 487.2 kB / 0.5468 GB, free: 11.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 4.479e-06/0.7965, allocations: 0 / 0.5468 GB, free: 11.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.004453/0.801, allocations: 1.196 MB / 0.548 GB, free: 10.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002617/0.8012, allocations: 379.1 kB / 0.5483 GB, free: 9.578 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.8015, allocations: 278.7 kB / 0.5486 GB, free: 9.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.8016, allocations: 35.89 kB / 0.5486 GB, free: 9.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.8018, allocations: 233 kB / 0.5488 GB, free: 9.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.8019, allocations: 121.4 kB / 0.549 GB, free: 8.906 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.8021, allocations: 135.8 kB / 0.5491 GB, free: 8.766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002895/0.8024, allocations: 0.5097 MB / 0.5496 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.8026, allocations: 76.94 kB / 0.5497 GB, free: 8.168 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.8032, allocations: 466.8 kB / 0.5501 GB, free: 7.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/0.8042, allocations: 0.6004 MB / 0.5507 GB, free: 6.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.8042, allocations: 4 kB / 0.5507 GB, free: 6.805 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001088/0.8053, allocations: 492.5 kB / 0.5512 GB, free: 6.379 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.8053, allocations: 8.219 kB / 0.5512 GB, free: 6.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.8053, allocations: 12 kB / 0.5512 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/0.8053, allocations: 16 kB / 0.5512 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.8071, allocations: 209 kB / 0.5514 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.8085, allocations: 1.813 MB / 0.5532 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.8089, allocations: 17.64 kB / 0.5532 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/0.809, allocations: 43.98 kB / 0.5532 GB, free: 4.227 MB / 426.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: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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.0003209/0.8093, allocations: 218.8 kB / 0.5534 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.8095, allocations: 47.52 kB / 0.5535 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.8119, allocations: 1.526 MB / 0.555 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/0.8119, allocations: 23.97 kB / 0.555 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.8119, allocations: 5.312 kB / 0.555 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.8119, allocations: 3.984 kB / 0.555 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.8131, allocations: 0.7352 MB / 0.5557 GB, free: 1.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.8131, allocations: 7.938 kB / 0.5557 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/0.8137, allocations: 103 kB / 0.5558 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.814, allocations: 128.5 kB / 0.556 GB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.8141, allocations: 8 kB / 0.556 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008267/0.8149, allocations: 0.8574 MB / 0.5568 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8149, allocations: 8.062 kB / 0.5568 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.8166, allocations: 0.8185 MB / 0.5576 GB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.8168, allocations: 56.78 kB / 0.5577 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/0.8171, allocations: 95.14 kB / 0.5577 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.8175, allocations: 15.98 kB / 0.5578 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.8176, allocations: 35.36 kB / 0.5578 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.8176, allocations: 19.98 kB / 0.5578 GB, free: 15.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000943/0.8186, allocations: 0.5302 MB / 0.5583 GB, free: 14.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.8186, allocations: 0 / 0.5583 GB, free: 14.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006954/0.8255, allocations: 1.637 MB / 0.5599 GB, free: 13.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01176/0.8373, allocations: 2.125 MB / 0.562 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.8392, allocations: 468.7 kB / 0.5625 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.8392, allocations: 1.875 kB / 0.5625 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.8397, allocations: 242.8 kB / 0.5627 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.8409, allocations: 228.2 kB / 0.5629 GB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8556/1.696, allocations: 348.6 MB / 0.9033 GB, free: 80.36 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/1.697, allocations: 392 kB / 0.9037 GB, free: 79.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007049/1.697, allocations: 0.5064 MB / 0.9042 GB, free: 79.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/1.698, allocations: 56.47 kB / 0.9043 GB, free: 79.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.374e-06/1.698, allocations: 4 kB / 0.9043 GB, free: 79.4 MB / 474.7 MB Notification: Performance of Templates: time 0.06402/1.762, allocations: 60.18 MB / 0.963 GB, free: 19.41 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.923636900959536]