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.001192/0.001192, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001156/0.001156, allocations: 169.3 kB / 24.82 MB, free: 8.863 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.2 MB / 205.3 MB, free: 5.5 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.3323/0.3323, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.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 1.813e-06/1.813e-06, allocations: 0 / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.518e-05, allocations: 2.312 kB / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01353/0.01356, allocations: 13.82 MB / 392.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02346/0.03702, allocations: 25.76 MB / 418.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.0372, allocations: 0 / 418.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.03765, allocations: 95.3 kB / 418.2 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02375/0.0614, allocations: 8.67 MB / 426.9 MB, free: 1.781 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009508/0.06235, allocations: 354.8 kB / 427.3 MB, free: 1.434 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002784/0.06514, allocations: 2.06 MB / 429.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.284e-05/0.06521, allocations: 20.59 kB / 429.3 MB, free: 15.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005091/0.06572, allocations: 314.9 kB / 429.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003728/0.06945, allocations: 3.27 MB / 432.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.06948, allocations: 11.94 kB / 432.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0183/0.08778, allocations: 11.11 MB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.08788, allocations: 47.75 kB / 444.1 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.08802, allocations: 107.8 kB / 444.2 MB, free: 416 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2545/0.3425, allocations: 8.545 MB / 452.7 MB, free: 61.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3425, allocations: 0 / 452.7 MB, free: 61.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3425, allocations: 0 / 452.7 MB, free: 61.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3425, allocations: 0 / 452.7 MB, free: 61.5 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.004353/0.3469, allocations: 1.688 MB / 454.4 MB, free: 60.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.3469, allocations: 11.47 kB / 454.4 MB, free: 60.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009593/0.3479, allocations: 304.3 kB / 454.7 MB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3481, allocations: 221.3 kB / 454.9 MB, free: 60.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3482, allocations: 27.5 kB / 455 MB, free: 60.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3482, allocations: 34.34 kB / 455 MB, free: 60.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.3493, allocations: 0.8151 MB / 455.8 MB, free: 60.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3493, allocations: 5.719 kB / 455.8 MB, free: 60.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3494, allocations: 17.62 kB / 455.8 MB, free: 60.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3494, allocations: 7.969 kB / 455.9 MB, free: 60.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.3503, allocations: 0.664 MB / 456.5 MB, free: 60.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.352, allocations: 2.652 MB / 459.2 MB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.3526, allocations: 343.5 kB / 459.5 MB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.3527, allocations: 51.77 kB / 459.6 MB, free: 58.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1571/0.5098, allocations: 87.32 MB / 0.5341 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000844/0.5106, allocations: 489.7 kB / 0.5345 GB, free: 8.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.344e-06/0.5106, allocations: 0 / 0.5345 GB, free: 8.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.002021/0.5127, allocations: 0.9009 MB / 0.5354 GB, free: 7.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.5127, allocations: 375 kB / 0.5358 GB, free: 7.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.5128, allocations: 260.7 kB / 0.536 GB, free: 6.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.5129, allocations: 32.58 kB / 0.536 GB, free: 6.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.5129, allocations: 242.9 kB / 0.5363 GB, free: 6.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.513, allocations: 123.4 kB / 0.5364 GB, free: 6.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.5131, allocations: 133.5 kB / 0.5365 GB, free: 6.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.5132, allocations: 0.5052 MB / 0.537 GB, free: 5.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.5133, allocations: 80.25 kB / 0.5371 GB, free: 5.773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.5135, allocations: 468.2 kB / 0.5375 GB, free: 5.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.5139, allocations: 0.5777 MB / 0.5381 GB, free: 4.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5139, allocations: 4 kB / 0.5381 GB, free: 4.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005286/0.5144, allocations: 478.6 kB / 0.5386 GB, free: 4.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.5145, allocations: 8 kB / 0.5386 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.5145, allocations: 13.09 kB / 0.5386 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.5145, allocations: 12.75 kB / 0.5386 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.5152, allocations: 209.6 kB / 0.5388 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005031/0.5157, allocations: 1.81 MB / 0.5406 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.5159, allocations: 16 kB / 0.5406 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.5159, allocations: 39.97 kB / 0.5406 GB, free: 1.906 MB / 410.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,state2.phase,state3.phase,state4.phase,state5.phase,medium.phase,state_h_is.phase,state.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.0001367/0.5161, allocations: 209 kB / 0.5408 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/0.5161, allocations: 35.86 kB / 0.5408 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.5173, allocations: 1.473 MB / 0.5423 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.5173, allocations: 23.95 kB / 0.5423 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5173, allocations: 6.125 kB / 0.5423 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5173, allocations: 8 kB / 0.5423 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.5179, allocations: 0.6343 MB / 0.5429 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5179, allocations: 4 kB / 0.5429 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.5182, allocations: 100.1 kB / 0.543 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.5184, allocations: 119.2 kB / 0.5432 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.5184, allocations: 19.75 kB / 0.5432 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003483/0.5187, allocations: 0.8477 MB / 0.544 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5187, allocations: 4 kB / 0.544 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.5195, allocations: 0.7305 MB / 0.5447 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.5195, allocations: 61.61 kB / 0.5448 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.5196, allocations: 98 kB / 0.5449 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.5197, allocations: 14.19 kB / 0.5449 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.5198, allocations: 39.45 kB / 0.5449 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.5198, allocations: 17.95 kB / 0.5449 GB, free: 13.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003464/0.5201, allocations: 465.5 kB / 0.5454 GB, free: 13.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5201, allocations: 0 / 0.5454 GB, free: 13.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006129/0.5263, allocations: 1.641 MB / 0.547 GB, free: 11.44 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.005815/0.5321, allocations: 2.165 MB / 0.5491 GB, free: 9.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.5331, allocations: 413.7 kB / 0.5495 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.5331, allocations: 1.562 kB / 0.5495 GB, free: 9.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.5334, allocations: 192.3 kB / 0.5497 GB, free: 8.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.5341, allocations: 227 kB / 0.5499 GB, free: 8.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.735/1.269, allocations: 352.1 MB / 0.8938 GB, free: 69.53 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/1.269, allocations: 176.2 kB / 0.8939 GB, free: 69.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005787/1.27, allocations: 0.5081 MB / 0.8944 GB, free: 68.87 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/1.27, allocations: 186.1 kB / 0.8946 GB, free: 68.69 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/1.27, allocations: 0 / 0.8946 GB, free: 68.69 MB / 474.7 MB Notification: Performance of Templates: time 0.2771/1.547, allocations: 69.6 MB / 0.9626 GB, free: 125.9 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.171067832037807]