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.001583/0.001583, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.00188/0.00188, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.23/0.23, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.001998/0.001998, allocations: 63.88 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3362, allocations: 66.04 MB / 0.5619 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01862/0.3548, allocations: 12.72 MB / 0.5743 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03305/0.3878, allocations: 23.37 MB / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.3881, allocations: 0 / 0.5971 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.3885, allocations: 95.41 kB / 0.5972 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0264/0.4149, allocations: 8.496 MB / 0.6055 GB, free: 7.332 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.416, allocations: 354.2 kB / 0.6058 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.4214, allocations: 2.006 MB / 0.6078 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.4214, allocations: 20.52 kB / 0.6078 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.422, allocations: 266.8 kB / 0.6081 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00784/0.4298, allocations: 3.277 MB / 0.6113 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.4299, allocations: 12 kB / 0.6113 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.023/0.4529, allocations: 10.76 MB / 0.6218 GB, free: 6.559 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.453, allocations: 47.77 kB / 0.6218 GB, free: 6.512 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.4533, allocations: 127.5 kB / 0.622 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.4707, allocations: 6.333 MB / 0.6281 GB, free: 40 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4707, allocations: 0 / 0.6281 GB, free: 40 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4707, allocations: 0 / 0.6281 GB, free: 40 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.4707, allocations: 0 / 0.6281 GB, free: 40 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.005534/0.4762, allocations: 1.521 MB / 0.6296 GB, free: 14.48 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4763, allocations: 12.02 kB / 0.6296 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.478, allocations: 216.5 kB / 0.6298 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.4785, allocations: 222.1 kB / 0.6301 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.4785, allocations: 25.03 kB / 0.6301 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.4786, allocations: 32.12 kB / 0.6301 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.4811, allocations: 0.8753 MB / 0.631 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.4811, allocations: 4 kB / 0.631 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.4812, allocations: 16 kB / 0.631 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.4812, allocations: 11.94 kB / 0.631 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.4837, allocations: 0.9195 MB / 0.6319 GB, free: 12.07 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.003461/0.4872, allocations: 1.96 MB / 0.6338 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.4887, allocations: 378.2 kB / 0.6342 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.4889, allocations: 60.83 kB / 0.6342 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8292/1.318, allocations: 161.1 MB / 0.7915 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/1.319, allocations: 466.2 kB / 0.7919 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 3.586e-06/1.319, allocations: 0 / 0.7919 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003082/1.323, allocations: 0.7842 MB / 0.7927 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/1.323, allocations: 371.8 kB / 0.7931 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.323, allocations: 200.8 kB / 0.7933 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.547e-05/1.323, allocations: 29.7 kB / 0.7933 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/1.323, allocations: 195.5 kB / 0.7935 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.323, allocations: 119.7 kB / 0.7936 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.323, allocations: 126.1 kB / 0.7937 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/1.323, allocations: 326.8 kB / 0.794 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/1.323, allocations: 80.94 kB / 0.7941 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/1.324, allocations: 344.1 kB / 0.7944 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/1.324, allocations: 478.6 kB / 0.7949 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/1.324, allocations: 7.938 kB / 0.7949 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009163/1.325, allocations: 461 kB / 0.7953 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.325, allocations: 8 kB / 0.7953 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.325, allocations: 12.78 kB / 0.7953 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.325, allocations: 12 kB / 0.7954 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/1.326, allocations: 147.8 kB / 0.7955 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/1.326, allocations: 23.77 kB / 0.7955 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/1.326, allocations: 53.31 kB / 0.7956 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/1.326, allocations: 50.66 kB / 0.7956 GB, free: 116 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.0001752/1.326, allocations: 162.8 kB / 0.7958 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.327, allocations: 27.86 kB / 0.7958 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/1.329, allocations: 2.749 MB / 0.7985 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.329, allocations: 15.98 kB / 0.7985 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.329, allocations: 4.375 kB / 0.7985 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.329, allocations: 11.98 kB / 0.7985 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/1.33, allocations: 0.8472 MB / 0.7993 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.33, allocations: 4 kB / 0.7993 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/1.33, allocations: 79.81 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.33, allocations: 7.984 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/1.33, allocations: 8 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.33, allocations: 8 kB / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.33, allocations: 0 / 0.7994 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/1.331, allocations: 0.7321 MB / 0.8002 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/1.331, allocations: 49.69 kB / 0.8002 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/1.331, allocations: 105.3 kB / 0.8003 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/1.331, allocations: 12 kB / 0.8003 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/1.331, allocations: 43.81 kB / 0.8004 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/1.331, allocations: 16 kB / 0.8004 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005228/1.332, allocations: 0.5001 MB / 0.8009 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.332, allocations: 0 / 0.8009 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004367/1.336, allocations: 1.532 MB / 0.8024 GB, free: 109.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007564/1.344, allocations: 1.748 MB / 0.8041 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008821/1.345, allocations: 420.4 kB / 0.8045 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/1.345, allocations: 0 / 0.8045 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/1.345, allocations: 241.5 kB / 0.8047 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008815/1.346, allocations: 127 kB / 0.8048 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.282/2.628, allocations: 0.6026 GB / 1.407 GB, free: 60.96 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/2.628, allocations: 396.3 kB / 1.408 GB, free: 60.54 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/2.628, allocations: 59.41 kB / 1.408 GB, free: 60.48 MB / 0.6387 GB Notification: Performance of SimCode: time 2.375e-06/2.628, allocations: 0 / 1.408 GB, free: 60.48 MB / 0.6387 GB Notification: Performance of Templates: time 0.04179/2.67, allocations: 33.36 MB / 1.44 GB, free: 27.13 MB / 0.6387 GB " [Timeout remaining time 657] 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: 12.881828087993199]