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.0009605/0.0009605, allocations: 81.97 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.0009293/0.0009293, allocations: 169.9 kB / 25.61 MB, free: 8.902 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 0.9638/0.9638, allocations: 177.2 MB / 206.1 MB, free: 4.523 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.1413/0.1413, allocations: 32.81 MB / 295.4 MB, free: 15.38 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.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.132e-06/1.132e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.482e-05, allocations: 2.312 kB / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.009387/0.009402, allocations: 13.82 MB / 391.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.02783, allocations: 25.76 MB / 416.9 MB, free: 1.816 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.02795, allocations: 4 kB / 416.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.02826, allocations: 91.36 kB / 417 MB, free: 1.723 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01866/0.04692, allocations: 8.677 MB / 425.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007788/0.0477, allocations: 362.8 kB / 426 MB, free: 8.656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002922/0.05062, allocations: 2.048 MB / 428.1 MB, free: 6.582 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.05068, allocations: 12.59 kB / 428.1 MB, free: 6.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.05114, allocations: 326.8 kB / 428.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003782/0.05492, allocations: 3.266 MB / 431.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.05495, allocations: 11.94 kB / 431.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0151/0.07005, allocations: 11.11 MB / 442.8 MB, free: 7.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.07013, allocations: 47.77 kB / 442.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.07024, allocations: 107.8 kB / 442.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.0829, allocations: 8.54 MB / 451.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.0829, allocations: 4 kB / 451.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.0829, allocations: 0 / 451.5 MB, free: 15.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.08291, allocations: 0 / 451.5 MB, free: 15.08 MB / 378.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.004032/0.08694, allocations: 1.698 MB / 453.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.08698, allocations: 11.98 kB / 453.2 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.08799, allocations: 303.9 kB / 453.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.0884, allocations: 224.1 kB / 453.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.08842, allocations: 21.03 kB / 453.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.08846, allocations: 36.38 kB / 453.8 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.08971, allocations: 0.8075 MB / 454.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.08972, allocations: 3.938 kB / 454.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.08975, allocations: 16 kB / 454.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.08977, allocations: 8 kB / 454.6 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.09086, allocations: 0.6623 MB / 455.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.09291, allocations: 2.667 MB / 457.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.09359, allocations: 353.5 kB / 458.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.09365, allocations: 51.72 kB / 458.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3333/0.4269, allocations: 86.91 MB / 0.5325 GB, free: 60.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007465/0.4277, allocations: 478.8 kB / 0.5329 GB, free: 60.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.4277, allocations: 0.7031 kB / 0.5329 GB, free: 60.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.002073/0.4298, allocations: 0.8926 MB / 0.5338 GB, free: 59.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4298, allocations: 375.1 kB / 0.5341 GB, free: 58.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.4299, allocations: 267.4 kB / 0.5344 GB, free: 58.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4299, allocations: 32.45 kB / 0.5344 GB, free: 58.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.43, allocations: 244.2 kB / 0.5347 GB, free: 58.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/0.4301, allocations: 115.7 kB / 0.5348 GB, free: 58.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.4302, allocations: 139 kB / 0.5349 GB, free: 58.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.4302, allocations: 0.5097 MB / 0.5354 GB, free: 57.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.4303, allocations: 77.09 kB / 0.5355 GB, free: 57.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.4305, allocations: 463.5 kB / 0.5359 GB, free: 57.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.4309, allocations: 0.5858 MB / 0.5365 GB, free: 56.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.4309, allocations: 4 kB / 0.5365 GB, free: 56.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004995/0.4314, allocations: 477.4 kB / 0.537 GB, free: 56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4314, allocations: 8 kB / 0.537 GB, free: 55.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4314, allocations: 12 kB / 0.537 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4314, allocations: 12.75 kB / 0.537 GB, free: 55.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/0.4322, allocations: 210 kB / 0.5372 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004329/0.4326, allocations: 1.805 MB / 0.5389 GB, free: 53.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4328, allocations: 28.8 kB / 0.539 GB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.4328, allocations: 39.41 kB / 0.539 GB, free: 53.9 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.0001272/0.4329, allocations: 196.5 kB / 0.5392 GB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.433, allocations: 42.92 kB / 0.5392 GB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.4341, allocations: 1.469 MB / 0.5407 GB, free: 52.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.4341, allocations: 27.78 kB / 0.5407 GB, free: 52.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4341, allocations: 4.375 kB / 0.5407 GB, free: 52.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4341, allocations: 12.59 kB / 0.5407 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.4346, allocations: 0.6338 MB / 0.5413 GB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.4346, allocations: 4 kB / 0.5413 GB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.4349, allocations: 94.36 kB / 0.5414 GB, free: 51.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.435, allocations: 126.9 kB / 0.5416 GB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.435, allocations: 15.92 kB / 0.5416 GB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001998/0.4352, allocations: 0.8488 MB / 0.5424 GB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4352, allocations: 7.562 kB / 0.5424 GB, free: 50.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.4358, allocations: 0.7277 MB / 0.5431 GB, free: 50.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.4358, allocations: 59.36 kB / 0.5432 GB, free: 50.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.4359, allocations: 90.64 kB / 0.5433 GB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.436, allocations: 27.11 kB / 0.5433 GB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.436, allocations: 35.73 kB / 0.5433 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.4361, allocations: 11.98 kB / 0.5433 GB, free: 49.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002264/0.4363, allocations: 468.6 kB / 0.5438 GB, free: 49.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4363, allocations: 0 / 0.5438 GB, free: 49.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003093/0.4394, allocations: 1.638 MB / 0.5454 GB, free: 47.99 MB / 410.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.003962/0.4433, allocations: 2.171 MB / 0.5475 GB, free: 46.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.444, allocations: 417 kB / 0.5479 GB, free: 45.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.444, allocations: 1.562 kB / 0.5479 GB, free: 45.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.4442, allocations: 200 kB / 0.5481 GB, free: 45.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.4447, allocations: 228.8 kB / 0.5483 GB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5869/1.032, allocations: 352.1 MB / 0.8922 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.113e-05/1.032, allocations: 172.2 kB / 0.8923 GB, free: 124.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004904/1.032, allocations: 0.5036 MB / 0.8928 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/1.032, allocations: 198.1 kB / 0.893 GB, free: 124.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.325e-06/1.032, allocations: 0 / 0.893 GB, free: 124.3 MB / 474.7 MB Notification: Performance of Templates: time 0.05346/1.086, allocations: 69.75 MB / 0.9611 GB, free: 54.82 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: 8.36301927594468]