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.001347/0.001347, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001516/0.001516, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.433/1.433, allocations: 230.6 MB / 258.3 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.2263/0.2263, allocations: 46.97 MB / 361.6 MB, free: 4.055 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.002035/0.002035, allocations: 67.91 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3094, allocations: 66.03 MB / 0.5619 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0168/0.3262, allocations: 12.71 MB / 0.5743 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03033/0.3565, allocations: 23.38 MB / 0.5971 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.3567, allocations: 0 / 0.5971 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.357, allocations: 83.34 kB / 0.5972 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02169/0.3787, allocations: 8.503 MB / 0.6055 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009227/0.3797, allocations: 342.8 kB / 0.6058 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003921/0.3836, allocations: 2.021 MB / 0.6078 GB, free: 4.988 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.3836, allocations: 16.53 kB / 0.6078 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.3841, allocations: 262.9 kB / 0.6081 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006166/0.3903, allocations: 3.277 MB / 0.6113 GB, free: 1.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.3903, allocations: 12 kB / 0.6113 GB, free: 1.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01949/0.4098, allocations: 10.76 MB / 0.6218 GB, free: 6.594 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-05/0.4099, allocations: 43.83 kB / 0.6218 GB, free: 6.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.4101, allocations: 123.5 kB / 0.6219 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.4235, allocations: 6.333 MB / 0.6281 GB, free: 84 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4235, allocations: 0 / 0.6281 GB, free: 84 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4235, allocations: 4 kB / 0.6281 GB, free: 80 kB / 462.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4235, allocations: 0 / 0.6281 GB, free: 80 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.004277/0.4277, allocations: 1.523 MB / 0.6296 GB, free: 14.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4278, allocations: 12.03 kB / 0.6296 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.4296, allocations: 224.4 kB / 0.6298 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.43, allocations: 222.1 kB / 0.63 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.4301, allocations: 25.03 kB / 0.6301 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.4301, allocations: 36.06 kB / 0.6301 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.4328, allocations: 0.8676 MB / 0.631 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4328, allocations: 11.94 kB / 0.631 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.4328, allocations: 16 kB / 0.631 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.4329, allocations: 11.98 kB / 0.631 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.4356, allocations: 0.9195 MB / 0.6319 GB, free: 12.1 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.003431/0.439, allocations: 1.964 MB / 0.6338 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.4406, allocations: 370.2 kB / 0.6342 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.4407, allocations: 68.81 kB / 0.6342 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8176/1.258, allocations: 161 MB / 0.7915 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/1.26, allocations: 467.3 kB / 0.7919 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.455e-06/1.26, allocations: 0 / 0.7919 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.003108/1.263, allocations: 0.7799 MB / 0.7927 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/1.263, allocations: 371.8 kB / 0.7931 GB, free: 119 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/1.263, allocations: 195.1 kB / 0.7932 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.263, allocations: 33.7 kB / 0.7933 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/1.263, allocations: 187 kB / 0.7935 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/1.263, allocations: 122.1 kB / 0.7936 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/1.263, allocations: 130.1 kB / 0.7937 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.344e-05/1.263, allocations: 326.8 kB / 0.794 GB, free: 118 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/1.264, allocations: 78.81 kB / 0.7941 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/1.264, allocations: 348.1 kB / 0.7944 GB, free: 117.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/1.264, allocations: 484.3 kB / 0.7949 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/1.264, allocations: 0 / 0.7949 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008674/1.265, allocations: 478.2 kB / 0.7953 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.265, allocations: 8 kB / 0.7953 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.265, allocations: 8 kB / 0.7953 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.265, allocations: 12 kB / 0.7954 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/1.266, allocations: 140.4 kB / 0.7955 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/1.266, allocations: 23.92 kB / 0.7955 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/1.266, allocations: 56.75 kB / 0.7956 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/1.266, allocations: 47.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.00013/1.266, allocations: 158.2 kB / 0.7958 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/1.266, allocations: 31.8 kB / 0.7958 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/1.268, allocations: 2.744 MB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/1.268, allocations: 15.98 kB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.268, allocations: 7.938 kB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/1.268, allocations: 7.984 kB / 0.7985 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006508/1.269, allocations: 0.8493 MB / 0.7993 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.269, allocations: 10.62 kB / 0.7993 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/1.269, allocations: 75.88 kB / 0.7994 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.269, allocations: 7.984 kB / 0.7994 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/1.269, allocations: 8 kB / 0.7994 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/1.269, allocations: 4 kB / 0.7994 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.269, allocations: 4 kB / 0.7994 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008163/1.27, allocations: 0.7243 MB / 0.8001 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/1.27, allocations: 51.3 kB / 0.8002 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.27, allocations: 110.1 kB / 0.8003 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/1.271, allocations: 15.94 kB / 0.8003 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/1.271, allocations: 35.88 kB / 0.8004 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/1.271, allocations: 16 kB / 0.8004 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004662/1.271, allocations: 0.5078 MB / 0.8009 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.271, allocations: 0 / 0.8009 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003242/1.275, allocations: 1.528 MB / 0.8024 GB, free: 109.2 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.005502/1.28, allocations: 1.745 MB / 0.8041 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006452/1.281, allocations: 415.1 kB / 0.8045 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.281, allocations: 0 / 0.8045 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/1.281, allocations: 236.5 kB / 0.8047 GB, free: 107 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/1.282, allocations: 141.9 kB / 0.8048 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.133/2.415, allocations: 0.6026 GB / 1.407 GB, free: 60.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/2.415, allocations: 396.3 kB / 1.408 GB, free: 60.56 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005998/2.415, allocations: 0.5225 MB / 1.408 GB, free: 60.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/2.416, allocations: 58.5 kB / 1.408 GB, free: 60 MB / 0.6387 GB Notification: Performance of SimCode: time 8.41e-07/2.416, allocations: 0 / 1.408 GB, free: 60 MB / 0.6387 GB Notification: Performance of Templates: time 0.05347/2.469, allocations: 57.09 MB / 1.464 GB, free: 3.043 MB / 0.6387 GB " [Timeout remaining time 658] 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 -s gbode -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: 11.07809047900082]