Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001838/0.001838, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002216/0.002216, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 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.2301/0.2301, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.89 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3295, allocations: 66.04 MB / 0.5619 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01716/0.3467, allocations: 12.71 MB / 0.5743 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03122/0.3779, allocations: 23.37 MB / 0.5971 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.3781, allocations: 4 kB / 0.5971 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.3785, allocations: 79.44 kB / 0.5972 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02452/0.403, allocations: 8.507 MB / 0.6055 GB, free: 7.375 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000978/0.404, allocations: 346.5 kB / 0.6058 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004066/0.4081, allocations: 2.01 MB / 0.6078 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.4082, allocations: 16.52 kB / 0.6078 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005346/0.4087, allocations: 270.9 kB / 0.6081 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006155/0.4148, allocations: 3.274 MB / 0.6113 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.4149, allocations: 8 kB / 0.6113 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02139/0.4363, allocations: 10.77 MB / 0.6218 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.4364, allocations: 47.77 kB / 0.6218 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.4366, allocations: 127.4 kB / 0.622 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.4518, allocations: 6.326 MB / 0.6281 GB, free: 92 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4518, allocations: 4 kB / 0.6281 GB, free: 88 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4518, allocations: 0 / 0.6281 GB, free: 88 kB / 462.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4518, allocations: 0 / 0.6281 GB, free: 88 kB / 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.004312/0.4561, allocations: 1.521 MB / 0.6296 GB, free: 14.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4562, allocations: 8.031 kB / 0.6296 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.458, allocations: 224.5 kB / 0.6298 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.4584, allocations: 214.1 kB / 0.6301 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.4585, allocations: 33.03 kB / 0.6301 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.4585, allocations: 32.12 kB / 0.6301 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.4612, allocations: 0.8753 MB / 0.631 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.4612, allocations: 7.969 kB / 0.631 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.4613, allocations: 16 kB / 0.631 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4613, allocations: 8 kB / 0.631 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.4639, allocations: 0.9273 MB / 0.6319 GB, free: 12.11 MB / 478.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.00323/0.4672, allocations: 1.96 MB / 0.6338 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.4686, allocations: 370.2 kB / 0.6342 GB, free: 9.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.4688, allocations: 72.81 kB / 0.6342 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8091/1.278, allocations: 161 MB / 0.7915 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/1.279, allocations: 471.3 kB / 0.792 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/1.279, allocations: 0 / 0.792 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003107/1.282, allocations: 0.7811 MB / 0.7927 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/1.282, allocations: 367.8 kB / 0.7931 GB, free: 119 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.283, allocations: 190.5 kB / 0.7933 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/1.283, allocations: 41.61 kB / 0.7933 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/1.283, allocations: 188.3 kB / 0.7935 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/1.283, allocations: 124.1 kB / 0.7936 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/1.283, allocations: 122.1 kB / 0.7937 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/1.283, allocations: 334.8 kB / 0.794 GB, free: 118 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/1.283, allocations: 80.94 kB / 0.7941 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/1.283, allocations: 340.1 kB / 0.7944 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/1.284, allocations: 475.7 kB / 0.7949 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.284, allocations: 7.375 kB / 0.7949 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009069/1.285, allocations: 472.5 kB / 0.7953 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.285, allocations: 12.91 kB / 0.7954 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.285, allocations: 8 kB / 0.7954 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/1.285, allocations: 16.98 kB / 0.7954 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/1.285, allocations: 143.7 kB / 0.7955 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/1.285, allocations: 15.94 kB / 0.7955 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/1.286, allocations: 53.31 kB / 0.7956 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/1.286, allocations: 43.97 kB / 0.7956 GB, free: 116.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/1.286, allocations: 164.4 kB / 0.7958 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/1.286, allocations: 27.84 kB / 0.7958 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/1.288, allocations: 2.741 MB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.288, allocations: 8.359 kB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.288, allocations: 8 kB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/1.288, allocations: 55.78 kB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.288, allocations: 108.3 kB / 0.7987 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/1.289, allocations: 43.86 kB / 0.7987 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/1.289, allocations: 31.89 kB / 0.7987 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008668/1.29, allocations: 1.559 MB / 0.8002 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009471/1.291, allocations: 1.683 MB / 0.8019 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002253/1.291, allocations: 206.7 kB / 0.8021 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004826/1.291, allocations: 0.504 MB / 0.8026 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of Backend: time 5.21e-07/1.291, allocations: 3.938 kB / 0.8026 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009778/1.301, allocations: 2.499 MB / 0.805 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001484/1.303, allocations: 1.707 MB / 0.8067 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of Templates: time 0.06403/1.367, allocations: 66.04 MB / 0.8712 GB, free: 39.06 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.19562317099917]