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.001805/0.001805, allocations: 111.5 kB / 18.45 MB, free: 4.605 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.002272/0.002272, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.559/1.559, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2389/0.2389, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.001913/0.001913, allocations: 67.89 kB / 0.4921 GB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1336, allocations: 65.99 MB / 0.5566 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01817/0.1517, allocations: 13.98 MB / 0.5702 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.366/0.5178, allocations: 26.67 MB / 0.5963 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002863/0.5181, allocations: 2.562 kB / 0.5963 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.5185, allocations: 92.53 kB / 0.5964 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02877/0.5473, allocations: 8.542 MB / 0.6047 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.5485, allocations: 347.9 kB / 0.605 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005391/0.5539, allocations: 2.008 MB / 0.607 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.554, allocations: 16.94 kB / 0.607 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.5546, allocations: 277.7 kB / 0.6073 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006723/0.5614, allocations: 3.276 MB / 0.6105 GB, free: 2.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.5615, allocations: 10.34 kB / 0.6105 GB, free: 2.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02312/0.5846, allocations: 10.84 MB / 0.6211 GB, free: 276 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.5847, allocations: 53.98 kB / 0.6211 GB, free: 248 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.585, allocations: 144.3 kB / 0.6213 GB, free: 212 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01834/0.6033, allocations: 6.34 MB / 0.6275 GB, free: 12.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.6034, allocations: 0 / 0.6275 GB, free: 12.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6034, allocations: 0 / 0.6275 GB, free: 12.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.6034, allocations: 0 / 0.6275 GB, free: 12.61 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.00579/0.6092, allocations: 1.606 MB / 0.629 GB, free: 11.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.6092, allocations: 8.281 kB / 0.629 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.611, allocations: 218.5 kB / 0.6292 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.6115, allocations: 280.5 kB / 0.6295 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.6116, allocations: 31.2 kB / 0.6295 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.6116, allocations: 31.84 kB / 0.6296 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.6141, allocations: 0.8263 MB / 0.6304 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.6141, allocations: 0 / 0.6304 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.6141, allocations: 17.75 kB / 0.6304 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.6141, allocations: 11.94 kB / 0.6304 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.6166, allocations: 0.9304 MB / 0.6313 GB, free: 10.09 MB / 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.003547/0.6202, allocations: 2.569 MB / 0.6338 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.6217, allocations: 375.4 kB / 0.6342 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.6218, allocations: 69.2 kB / 0.6342 GB, free: 7.504 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041/1.662, allocations: 241.3 MB / 0.8699 GB, free: 256.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002236/1.665, allocations: 472.2 kB / 0.8703 GB, free: 256.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/1.665, allocations: 0 / 0.8703 GB, free: 256.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=32): time 0.004871/1.669, allocations: 0.786 MB / 0.8711 GB, free: 256 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.67, allocations: 373.2 kB / 0.8714 GB, free: 255.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/1.67, allocations: 185 kB / 0.8716 GB, free: 255.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/1.67, allocations: 34.67 kB / 0.8716 GB, free: 255.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/1.67, allocations: 187 kB / 0.8718 GB, free: 255.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/1.67, allocations: 124.7 kB / 0.8719 GB, free: 255.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.67, allocations: 122 kB / 0.872 GB, free: 255.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/1.67, allocations: 331.3 kB / 0.8724 GB, free: 254.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/1.671, allocations: 81.91 kB / 0.8724 GB, free: 254.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/1.671, allocations: 345.1 kB / 0.8728 GB, free: 254.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009723/1.672, allocations: 492 kB / 0.8732 GB, free: 254 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/1.672, allocations: 3.281 kB / 0.8732 GB, free: 254 MB / 0.67 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001415/1.674, allocations: 471.1 kB / 0.8737 GB, free: 253.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.674, allocations: 9.281 kB / 0.8737 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.674, allocations: 8.875 kB / 0.8737 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.965e-05/1.674, allocations: 17.03 kB / 0.8737 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/1.674, allocations: 149.3 kB / 0.8739 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/1.674, allocations: 19.02 kB / 0.8739 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/1.675, allocations: 50.67 kB / 0.8739 GB, free: 253.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/1.675, allocations: 43.11 kB / 0.874 GB, free: 253.8 MB / 0.67 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.0002482/1.675, allocations: 164 kB / 0.8741 GB, free: 253.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/1.675, allocations: 26.61 kB / 0.8742 GB, free: 253.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/1.679, allocations: 2.613 MB / 0.8767 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/1.679, allocations: 15.55 kB / 0.8767 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/1.679, allocations: 3.75 kB / 0.8767 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/1.679, allocations: 7.734 kB / 0.8767 GB, free: 252.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.68, allocations: 0.9331 MB / 0.8776 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.68, allocations: 3.781 kB / 0.8777 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/1.681, allocations: 77.98 kB / 0.8777 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/1.681, allocations: 4.375 kB / 0.8777 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/1.681, allocations: 15.88 kB / 0.8777 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/1.681, allocations: 11.86 kB / 0.8778 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.681, allocations: 7.938 kB / 0.8778 GB, free: 251.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/1.682, allocations: 0.6933 MB / 0.8784 GB, free: 251.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/1.682, allocations: 134.5 kB / 0.8786 GB, free: 251 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/1.683, allocations: 108.8 kB / 0.8787 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/1.683, allocations: 21.36 kB / 0.8787 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/1.683, allocations: 27.81 kB / 0.8787 GB, free: 250.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/1.683, allocations: 19.86 kB / 0.8787 GB, free: 250.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008079/1.684, allocations: 0.4978 MB / 0.8792 GB, free: 250.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/1.684, allocations: 0 / 0.8792 GB, free: 250.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007957/1.692, allocations: 1.535 MB / 0.8807 GB, free: 250.3 MB / 0.67 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.01319/1.705, allocations: 1.746 MB / 0.8824 GB, free: 248.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.707, allocations: 412.1 kB / 0.8828 GB, free: 248.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.707, allocations: 0 / 0.8828 GB, free: 248.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004634/1.707, allocations: 224 kB / 0.883 GB, free: 248.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.708, allocations: 133.4 kB / 0.8832 GB, free: 248 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.428/3.137, allocations: 0.6026 GB / 1.486 GB, free: 112.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/3.137, allocations: 0.9895 MB / 1.487 GB, free: 111.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/3.137, allocations: 59.41 kB / 1.487 GB, free: 111.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.664e-06/3.137, allocations: 0 / 1.487 GB, free: 111.7 MB / 0.67 GB Notification: Performance of Templates: time 0.04524/3.183, allocations: 33.03 MB / 1.519 GB, free: 78.71 MB / 0.67 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: 13.567410922027193]