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.001917/0.001917, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002313/0.002313, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.514/1.514, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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.2051/0.2051, allocations: 32.81 MB / 294.1 MB, free: 12 kB / 270.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 67.89 kB / 440.6 MB, free: 9.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3087, allocations: 65.45 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01118/0.3199, allocations: 12.72 MB / 0.5066 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02167/0.3415, allocations: 23.38 MB / 0.5294 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.3417, allocations: 6.25 kB / 0.5295 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.3421, allocations: 85.14 kB / 0.5295 GB, free: 7.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02616/0.3682, allocations: 8.5 MB / 0.5378 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.3693, allocations: 349.2 kB / 0.5382 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004944/0.3742, allocations: 2.019 MB / 0.5401 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.941e-05/0.3743, allocations: 15.41 kB / 0.5402 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.3748, allocations: 258.2 kB / 0.5404 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007256/0.382, allocations: 3.273 MB / 0.5436 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.3821, allocations: 10.34 kB / 0.5436 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0276/0.4097, allocations: 11.07 MB / 0.5544 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.4098, allocations: 59.7 kB / 0.5545 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.4101, allocations: 119.5 kB / 0.5546 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01906/0.4292, allocations: 6.762 MB / 0.5612 GB, free: 4.242 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4292, allocations: 3.938 kB / 0.5612 GB, free: 4.238 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4292, allocations: 0 / 0.5612 GB, free: 4.238 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4292, allocations: 0 / 0.5612 GB, free: 4.238 MB / 462.1 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.00457/0.4338, allocations: 1.587 MB / 0.5627 GB, free: 2.613 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4338, allocations: 8.031 kB / 0.5628 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.4354, allocations: 192.5 kB / 0.5629 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.4358, allocations: 214.1 kB / 0.5631 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.4359, allocations: 24.97 kB / 0.5632 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.4359, allocations: 36.12 kB / 0.5632 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.4382, allocations: 0.8067 MB / 0.564 GB, free: 1.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4382, allocations: 4 kB / 0.564 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.4383, allocations: 16 kB / 0.564 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.4383, allocations: 11.94 kB / 0.564 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/0.4405, allocations: 0.8102 MB / 0.5648 GB, free: 424 kB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.4438, allocations: 2.089 MB / 0.5669 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.4451, allocations: 342.3 kB / 0.5672 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4453, allocations: 68.92 kB / 0.5672 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4037/0.849, allocations: 99.97 MB / 0.6649 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.8504, allocations: 450.8 kB / 0.6653 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.817e-06/0.8504, allocations: 0 / 0.6653 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004194/0.8546, allocations: 1.141 MB / 0.6664 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/0.8548, allocations: 375.8 kB / 0.6668 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.8551, allocations: 198.1 kB / 0.667 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.8551, allocations: 37.7 kB / 0.667 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.8552, allocations: 185.2 kB / 0.6672 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.8554, allocations: 123 kB / 0.6673 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.8555, allocations: 122.1 kB / 0.6674 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.8557, allocations: 334.8 kB / 0.6677 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.8559, allocations: 80.94 kB / 0.6678 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.8563, allocations: 345 kB / 0.6681 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.857, allocations: 479.5 kB / 0.6686 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.857, allocations: 7.938 kB / 0.6686 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009305/0.8579, allocations: 465.4 kB / 0.669 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.858, allocations: 19.88 kB / 0.6691 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.858, allocations: 8 kB / 0.6691 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.858, allocations: 12 kB / 0.6691 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.8596, allocations: 211.7 kB / 0.6693 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008143/0.8604, allocations: 1.188 MB / 0.6704 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.8607, allocations: 24.05 kB / 0.6705 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.655e-05/0.8608, allocations: 39.98 kB / 0.6705 GB, free: 3.469 MB / 0.5606 GB 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.0002228/0.861, allocations: 166.2 kB / 0.6707 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.8611, allocations: 27.86 kB / 0.6707 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/0.8647, allocations: 3.072 MB / 0.6737 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/0.8648, allocations: 23.97 kB / 0.6737 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.8648, allocations: 4 kB / 0.6737 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.8648, allocations: 0 / 0.6737 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.866, allocations: 0.8829 MB / 0.6746 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.866, allocations: 4 kB / 0.6746 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.8666, allocations: 96.33 kB / 0.6747 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/0.8668, allocations: 172.9 kB / 0.6748 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.8668, allocations: 8 kB / 0.6748 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005701/0.8674, allocations: 0.6544 MB / 0.6755 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.8674, allocations: 4 kB / 0.6755 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.8688, allocations: 0.9876 MB / 0.6765 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.8689, allocations: 59.45 kB / 0.6765 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.8691, allocations: 95.14 kB / 0.6766 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.8694, allocations: 16.09 kB / 0.6766 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.8695, allocations: 39.81 kB / 0.6767 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.8695, allocations: 16 kB / 0.6767 GB, free: 13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006283/0.8701, allocations: 471 kB / 0.6771 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8701, allocations: 0 / 0.6771 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004682/0.8748, allocations: 1.633 MB / 0.6787 GB, free: 10.91 MB / 0.5762 GB 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.007613/0.8824, allocations: 1.885 MB / 0.6806 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.8841, allocations: 0.5517 MB / 0.6811 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.8841, allocations: 4 kB / 0.6811 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.8846, allocations: 305.9 kB / 0.6814 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.8855, allocations: 141.4 kB / 0.6815 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9357/1.821, allocations: 348.7 MB / 1.022 GB, free: 143.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/1.822, allocations: 395.9 kB / 1.022 GB, free: 143.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009564/1.822, allocations: 0.4969 MB / 1.023 GB, free: 142.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/1.823, allocations: 60.45 kB / 1.023 GB, free: 142.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.402e-06/1.823, allocations: 0 / 1.023 GB, free: 142.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.05941/1.882, allocations: 58.71 MB / 1.08 GB, free: 84.2 MB / 0.6231 GB " [Timeout remaining time 658] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.913750732084736]