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.001515/0.001515, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.001486/0.001486, allocations: 169.6 kB / 25.03 MB, free: 8.422 MB / 18.57 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.35/1.35, allocations: 158.6 MB / 186.8 MB, free: 2.848 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 253.1 MB, free: 1.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.938e-05, allocations: 6.312 kB / 253.1 MB, free: 1.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01844/0.01847, allocations: 12.21 MB / 265.3 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02044/0.0389, allocations: 13.61 MB / 278.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.03911, allocations: 0 / 278.9 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.03955, allocations: 79.45 kB / 279 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.03995, allocations: 123.1 kB / 279.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01619/0.05615, allocations: 5.953 MB / 285.1 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.05669, allocations: 354.3 kB / 285.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.05673, allocations: 9.812 kB / 285.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005578/0.05729, allocations: 267.1 kB / 285.7 MB, free: 480 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.05748, allocations: 91.75 kB / 285.8 MB, free: 388 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.05751, allocations: 12 kB / 285.8 MB, free: 376 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/0.07056, allocations: 6.465 MB / 292.2 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.07065, allocations: 51.88 kB / 292.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.07081, allocations: 75.83 kB / 292.4 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009755/0.08057, allocations: 4.958 MB / 297.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.08057, allocations: 0 / 297.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08057, allocations: 0 / 297.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.08058, allocations: 0 / 297.3 MB, free: 4.801 MB / 282.7 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.002571/0.08315, allocations: 0.9351 MB / 298.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.08319, allocations: 11.98 kB / 298.3 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.0848, allocations: 288 kB / 298.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.0852, allocations: 205.4 kB / 298.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.08524, allocations: 16.88 kB / 298.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.0853, allocations: 28.31 kB / 298.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.08879, allocations: 0.9529 MB / 299.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.08881, allocations: 3.938 kB / 299.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.08885, allocations: 16 kB / 299.8 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.08886, allocations: 4 kB / 299.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0036/0.09246, allocations: 0.9697 MB / 300.7 MB, free: 1.293 MB / 282.7 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.001619/0.09408, allocations: 0.901 MB / 301.7 MB, free: 356 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0973/0.1914, allocations: 0.7131 MB / 302.4 MB, free: 56.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.1917, allocations: 152.8 kB / 302.5 MB, free: 56.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06294/0.2546, allocations: 19.71 MB / 322.2 MB, free: 46.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2547, allocations: 36.17 kB / 322.3 MB, free: 46.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.2547, allocations: 0 / 322.3 MB, free: 46.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.00526/0.2599, allocations: 1.447 MB / 323.7 MB, free: 45.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.2599, allocations: 55.41 kB / 323.8 MB, free: 44.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.26, allocations: 131.2 kB / 323.9 MB, free: 44.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.2601, allocations: 29.7 kB / 323.9 MB, free: 44.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.2602, allocations: 116.2 kB / 324 MB, free: 44.67 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2603, allocations: 115 kB / 324.1 MB, free: 44.56 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.2605, allocations: 166.5 kB / 324.3 MB, free: 44.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.2605, allocations: 326.8 kB / 324.6 MB, free: 44.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.2611, allocations: 336.8 kB / 324.9 MB, free: 43.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.2617, allocations: 416.2 kB / 325.4 MB, free: 43.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.2628, allocations: 0.7047 MB / 326.1 MB, free: 42.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2628, allocations: 0 / 326.1 MB, free: 42.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001662/0.2645, allocations: 0.8806 MB / 326.9 MB, free: 41.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2645, allocations: 15.92 kB / 327 MB, free: 41.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2645, allocations: 256 / 327 MB, free: 41.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.2645, allocations: 13.78 kB / 327 MB, free: 41.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/0.2652, allocations: 176.4 kB / 327.1 MB, free: 41.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.2652, allocations: 0 / 327.1 MB, free: 41.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.2656, allocations: 39.72 kB / 327.2 MB, free: 41.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/0.2657, allocations: 63.94 kB / 327.2 MB, free: 41.41 MB / 282.7 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.0001933/0.2659, allocations: 140.2 kB / 327.4 MB, free: 41.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.2661, allocations: 19.95 kB / 327.4 MB, free: 41.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.2715, allocations: 8.518 MB / 335.9 MB, free: 32.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.2715, allocations: 27.95 kB / 335.9 MB, free: 32.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2715, allocations: 0 / 335.9 MB, free: 32.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2715, allocations: 3.984 kB / 335.9 MB, free: 32.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.2735, allocations: 3.633 MB / 339.6 MB, free: 28.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2735, allocations: 0 / 339.6 MB, free: 28.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.2742, allocations: 110.7 kB / 339.7 MB, free: 28.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.2742, allocations: 7.75 kB / 339.7 MB, free: 28.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.2742, allocations: 12 kB / 339.7 MB, free: 28.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2742, allocations: 11.92 kB / 339.7 MB, free: 28.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2742, allocations: 0 / 339.7 MB, free: 28.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.2762, allocations: 1.9 MB / 341.6 MB, free: 26.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.2762, allocations: 75.28 kB / 341.7 MB, free: 26.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.2763, allocations: 4 kB / 341.7 MB, free: 26.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.2766, allocations: 24.61 kB / 341.7 MB, free: 26.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.2767, allocations: 31.94 kB / 341.8 MB, free: 26.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.2767, allocations: 15.98 kB / 341.8 MB, free: 26.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.118e-05/0.2768, allocations: 87.28 kB / 341.9 MB, free: 26.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2768, allocations: 0 / 341.9 MB, free: 26.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002296/0.2791, allocations: 0.9864 MB / 342.8 MB, free: 25.57 MB / 282.7 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.004611/0.2837, allocations: 1.273 MB / 344.1 MB, free: 24.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.2851, allocations: 0.8994 MB / 345 MB, free: 23.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2851, allocations: 0 / 345 MB, free: 23.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006025/0.2857, allocations: 0.5244 MB / 345.5 MB, free: 22.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.2864, allocations: 98.48 kB / 345.6 MB, free: 22.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.288, allocations: 1.295 MB / 346.9 MB, free: 21.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.2881, allocations: 255.2 kB / 347.2 MB, free: 21.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001354/0.2895, allocations: 1.788 MB / 349 MB, free: 19.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.2898, allocations: 92.41 kB / 349.1 MB, free: 19.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.2898, allocations: 7.938 kB / 349.1 MB, free: 19.41 MB / 282.7 MB Notification: Performance of Templates: time 0.05622/0.346, allocations: 41.57 MB / 390.6 MB, free: 9.738 MB / 314.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins/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: 7.232949558994733]