Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.00142/0.00142, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.001591/0.001591, allocations: 202.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001997/0.001997, allocations: 60.3 kB / 349.3 MB, free: 8.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2925, allocations: 49.16 MB / 398.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01606/0.3086, allocations: 13.46 MB / 411.9 MB, free: 396 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02106/0.3297, allocations: 15.64 MB / 427.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3299, allocations: 1.375 kB / 427.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.3303, allocations: 85.67 kB / 427.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.3307, allocations: 106.8 kB / 427.7 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02032/0.3511, allocations: 5.963 MB / 433.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.3517, allocations: 350 kB / 434 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.3518, allocations: 8.188 kB / 434 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.3524, allocations: 237 kB / 434.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.3527, allocations: 107.5 kB / 434.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.3527, allocations: 16 kB / 434.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01504/0.3677, allocations: 6.751 MB / 441.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.3679, allocations: 51.83 kB / 441.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.3681, allocations: 103.6 kB / 441.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.3794, allocations: 3.898 MB / 445.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3794, allocations: 0 / 445.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3794, allocations: 0 / 445.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3794, allocations: 0 / 445.2 MB, free: 4.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003209/0.3826, allocations: 0.939 MB / 446.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3827, allocations: 15.98 kB / 446.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.3841, allocations: 176.6 kB / 446.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3846, allocations: 202.2 kB / 446.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.3847, allocations: 16.81 kB / 446.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.3847, allocations: 32.08 kB / 446.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003228/0.388, allocations: 0.9012 MB / 447.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.388, allocations: 0 / 447.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.388, allocations: 8 kB / 447.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.388, allocations: 11.92 kB / 447.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/0.3913, allocations: 0.9696 MB / 448.5 MB, free: 0.9258 MB / 350.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.001919/0.3932, allocations: 1.33 MB / 449.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.3959, allocations: 0.7205 MB / 450.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.3962, allocations: 148.8 kB / 450.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07041/0.4666, allocations: 19.63 MB / 470.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.4667, allocations: 38.5 kB / 470.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.4667, allocations: 4 kB / 470.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.005655/0.4724, allocations: 1.364 MB / 471.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.4724, allocations: 55.41 kB / 471.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.4726, allocations: 125.8 kB / 471.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-05/0.4727, allocations: 33.7 kB / 471.9 MB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.4728, allocations: 112.9 kB / 472 MB, free: 9.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.4729, allocations: 119 kB / 472.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.4732, allocations: 165.6 kB / 472.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4734, allocations: 326.8 kB / 472.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.474, allocations: 335.8 kB / 472.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.4748, allocations: 411.3 kB / 473.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.4762, allocations: 0.7114 MB / 474 MB, free: 7.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4763, allocations: 0 / 474 MB, free: 7.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00197/0.4782, allocations: 0.8681 MB / 474.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4782, allocations: 8 kB / 474.9 MB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.4783, allocations: 7.938 kB / 474.9 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4783, allocations: 0 / 474.9 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.479, allocations: 179.8 kB / 475.1 MB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.479, allocations: 4 kB / 475.1 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.4793, allocations: 31.77 kB / 475.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.4795, allocations: 64.12 kB / 475.2 MB, free: 5.891 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0002892/0.4797, allocations: 149.6 kB / 475.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.4799, allocations: 15.91 kB / 475.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009327/0.4892, allocations: 8.506 MB / 483.9 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/0.4893, allocations: 31.95 kB / 483.9 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.4893, allocations: 4 kB / 483.9 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4893, allocations: 3.984 kB / 483.9 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.4933, allocations: 3.771 MB / 487.7 MB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4933, allocations: 0 / 487.7 MB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/0.494, allocations: 103.8 kB / 487.8 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/0.494, allocations: 7.984 kB / 487.8 MB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.4941, allocations: 19.92 kB / 487.8 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.4941, allocations: 4 kB / 487.8 MB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4941, allocations: 0 / 487.8 MB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.497, allocations: 1.878 MB / 489.7 MB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4971, allocations: 71.38 kB / 489.8 MB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.4972, allocations: 11.94 kB / 489.8 MB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.4975, allocations: 12 kB / 489.8 MB, free: 7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4976, allocations: 36 kB / 489.8 MB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.4977, allocations: 15.98 kB / 489.8 MB, free: 6.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.4977, allocations: 91.27 kB / 489.9 MB, free: 6.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4977, allocations: 0 / 489.9 MB, free: 6.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002912/0.5007, allocations: 0.9902 MB / 490.9 MB, free: 5.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 15 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004816/0.5055, allocations: 1.125 MB / 492 MB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.5074, allocations: 0.8915 MB / 492.9 MB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5074, allocations: 4.125 kB / 492.9 MB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008711/0.5083, allocations: 0.5283 MB / 493.5 MB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.509, allocations: 80.14 kB / 493.5 MB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.5113, allocations: 1.384 MB / 494.9 MB, free: 1.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.5119, allocations: 0.8575 MB / 495.8 MB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.5123, allocations: 87.36 kB / 495.9 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5123, allocations: 4 kB / 495.9 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of Templates: time 0.04098/0.5532, allocations: 23.94 MB / 0.5076 GB, free: 8.824 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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: 9.809056957950816]