Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009649/0.0009649, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001705/0.001705, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2852/0.2852, allocations: 32.8 MB / 294.6 MB, free: 1.277 MB / 266.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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 376.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.801e-05, allocations: 2.312 kB / 376.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0114/0.01142, allocations: 13.96 MB / 390 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.03265, allocations: 26.13 MB / 416.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.0329, allocations: 4 kB / 416.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.03335, allocations: 87.38 kB / 416.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01877/0.05211, allocations: 8.616 MB / 424.8 MB, free: 3.965 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007684/0.05288, allocations: 354.6 kB / 425.2 MB, free: 3.617 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.05625, allocations: 2.025 MB / 427.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.05632, allocations: 16.59 kB / 427.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.05684, allocations: 306.8 kB / 427.5 MB, free: 1.254 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.06114, allocations: 3.258 MB / 430.8 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.06119, allocations: 8 kB / 430.8 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01687/0.07806, allocations: 11.11 MB / 441.9 MB, free: 2.812 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.07817, allocations: 51.75 kB / 442 MB, free: 2.762 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.07836, allocations: 103.8 kB / 442.1 MB, free: 2.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2172/0.2956, allocations: 8.54 MB / 450.6 MB, free: 63.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.2956, allocations: 0 / 450.6 MB, free: 63.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.2956, allocations: 0 / 450.6 MB, free: 63.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.2956, allocations: 0 / 450.6 MB, free: 63.62 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.005613/0.3012, allocations: 1.688 MB / 452.3 MB, free: 62.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.3013, allocations: 12.12 kB / 452.3 MB, free: 62.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.3026, allocations: 304.7 kB / 452.6 MB, free: 62.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.303, allocations: 219 kB / 452.8 MB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.303, allocations: 25.41 kB / 452.8 MB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.303, allocations: 32.75 kB / 452.9 MB, free: 62.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3046, allocations: 0.8447 MB / 453.7 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3046, allocations: 6.562 kB / 453.7 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.3046, allocations: 16.84 kB / 453.7 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3046, allocations: 10.5 kB / 453.7 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.3059, allocations: 0.7272 MB / 454.5 MB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.3081, allocations: 2.712 MB / 457.2 MB, free: 60.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.3089, allocations: 347.5 kB / 457.5 MB, free: 60.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.3089, allocations: 64.61 kB / 457.6 MB, free: 60.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.201/0.51, allocations: 100.4 MB / 0.5449 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.5111, allocations: 483.3 kB / 0.5454 GB, free: 14.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.815e-06/0.5111, allocations: 0 / 0.5454 GB, free: 14.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002963/0.5141, allocations: 1.196 MB / 0.5466 GB, free: 13.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.5142, allocations: 376.8 kB / 0.5469 GB, free: 13.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.5144, allocations: 271.2 kB / 0.5472 GB, free: 12.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.5145, allocations: 34.95 kB / 0.5472 GB, free: 12.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.5146, allocations: 234.8 kB / 0.5474 GB, free: 12.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.498e-05/0.5147, allocations: 124 kB / 0.5476 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.5148, allocations: 133.5 kB / 0.5477 GB, free: 12.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5149, allocations: 0.4981 MB / 0.5482 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.5151, allocations: 90.28 kB / 0.5483 GB, free: 11.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.5154, allocations: 471 kB / 0.5487 GB, free: 11.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.516, allocations: 0.5983 MB / 0.5493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.516, allocations: 0 / 0.5493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001033/0.517, allocations: 0.4957 MB / 0.5498 GB, free: 10.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.5171, allocations: 8 kB / 0.5498 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.5172, allocations: 12 kB / 0.5498 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.5173, allocations: 12.75 kB / 0.5498 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.5186, allocations: 213.5 kB / 0.55 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008828/0.5195, allocations: 1.804 MB / 0.5518 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.5197, allocations: 25.33 kB / 0.5518 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.5197, allocations: 37.73 kB / 0.5518 GB, free: 8.062 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.0001838/0.5199, allocations: 213.2 kB / 0.552 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.52, allocations: 35.8 kB / 0.5521 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.5214, allocations: 1.552 MB / 0.5536 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.5215, allocations: 23.59 kB / 0.5536 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5215, allocations: 4.375 kB / 0.5536 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.5215, allocations: 11.98 kB / 0.5536 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.5222, allocations: 0.7413 MB / 0.5544 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5222, allocations: 7.938 kB / 0.5544 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.5225, allocations: 100 kB / 0.5545 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001928/0.5227, allocations: 124.6 kB / 0.5546 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.5227, allocations: 15.98 kB / 0.5546 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005126/0.5232, allocations: 0.8508 MB / 0.5554 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5232, allocations: 4 kB / 0.5554 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.5241, allocations: 0.787 MB / 0.5562 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.5242, allocations: 59.47 kB / 0.5563 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.5243, allocations: 91.14 kB / 0.5563 GB, free: 3.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.5244, allocations: 23.11 kB / 0.5564 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.5245, allocations: 35.27 kB / 0.5564 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.5245, allocations: 15.98 kB / 0.5564 GB, free: 3.664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004038/0.5249, allocations: 490.9 kB / 0.5569 GB, free: 3.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5249, allocations: 0 / 0.5569 GB, free: 3.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005687/0.5306, allocations: 1.637 MB / 0.5585 GB, free: 1.539 MB / 426.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.008027/0.5386, allocations: 2.137 MB / 0.5606 GB, free: 15.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.5398, allocations: 443.5 kB / 0.561 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5398, allocations: 0 / 0.561 GB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.5401, allocations: 221.2 kB / 0.5612 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.5408, allocations: 227.2 kB / 0.5614 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6926/1.233, allocations: 348.5 MB / 0.9018 GB, free: 64.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/1.234, allocations: 176.2 kB / 0.902 GB, free: 64.64 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006292/1.234, allocations: 0.5015 MB / 0.9025 GB, free: 64.17 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/1.234, allocations: 56.47 kB / 0.9025 GB, free: 64.12 MB / 474.7 MB Notification: Performance of SimCode: time 3.436e-06/1.234, allocations: 0 / 0.9025 GB, free: 64.12 MB / 474.7 MB Notification: Performance of Templates: time 0.2487/1.483, allocations: 60.19 MB / 0.9613 GB, free: 126.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.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.277458929922432]