Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001683/0.001683, allocations: 71.84 kB / 21.24 MB, free: 0.5547 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.002005/0.002005, allocations: 158.7 kB / 24.5 MB, free: 3.715 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.625/1.625, allocations: 177.2 MB / 204.9 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 51.11 kB / 326.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1104, allocations: 53.34 MB / 379.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.02412/0.1345, allocations: 12.3 MB / 392 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02727/0.1618, allocations: 13.65 MB / 405.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.1619, allocations: 0 / 405.7 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.1624, allocations: 71.52 kB / 405.8 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.1629, allocations: 123.2 kB / 405.9 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01808/0.1809, allocations: 5.92 MB / 411.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.1814, allocations: 338.6 kB / 412.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.1815, allocations: 13.81 kB / 412.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004717/0.182, allocations: 219 kB / 412.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1821, allocations: 103.6 kB / 412.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.1822, allocations: 19.94 kB / 412.5 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.1948, allocations: 6.466 MB / 418.9 MB, free: 7.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.1949, allocations: 39.91 kB / 419 MB, free: 7.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.195, allocations: 99.64 kB / 419.1 MB, free: 7.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007953/0.203, allocations: 3.921 MB / 423 MB, free: 3.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.203, allocations: 3.938 kB / 423 MB, free: 3.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.203, allocations: 4 kB / 423 MB, free: 3.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.203, allocations: 0 / 423 MB, free: 3.449 MB / 382.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.002375/0.2054, allocations: 0.9351 MB / 423.9 MB, free: 2.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2054, allocations: 8.031 kB / 423.9 MB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.2069, allocations: 184.6 kB / 424.1 MB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.2072, allocations: 194.2 kB / 424.3 MB, free: 2.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.2073, allocations: 16.88 kB / 424.3 MB, free: 2.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.2073, allocations: 28.12 kB / 424.4 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/0.2105, allocations: 0.9562 MB / 425.3 MB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2105, allocations: 0 / 425.3 MB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.2106, allocations: 8 kB / 425.3 MB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2106, allocations: 4 kB / 425.3 MB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/0.2139, allocations: 0.9659 MB / 426.3 MB, free: 68 kB / 382.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.001592/0.2155, allocations: 0.9206 MB / 427.2 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.2181, allocations: 0.737 MB / 428 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.2184, allocations: 152.8 kB / 428.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07725/0.2957, allocations: 20.63 MB / 448.7 MB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.2957, allocations: 38.5 kB / 448.8 MB, free: 9.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.2957, allocations: 8 kB / 448.8 MB, free: 9.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.005402/0.3011, allocations: 1.348 MB / 450.1 MB, free: 8.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3012, allocations: 63.28 kB / 450.2 MB, free: 8.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3013, allocations: 121.8 kB / 450.3 MB, free: 7.941 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.3014, allocations: 29.7 kB / 450.3 MB, free: 7.906 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.3014, allocations: 116.9 kB / 450.4 MB, free: 7.789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3016, allocations: 122.9 kB / 450.6 MB, free: 7.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000281/0.3019, allocations: 169.6 kB / 450.7 MB, free: 7.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.302, allocations: 323.2 kB / 451 MB, free: 7.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.3027, allocations: 339.8 kB / 451.4 MB, free: 6.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/0.3035, allocations: 403.5 kB / 451.8 MB, free: 6.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.3049, allocations: 0.7153 MB / 452.5 MB, free: 5.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3049, allocations: 0 / 452.5 MB, free: 5.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001957/0.3069, allocations: 0.8721 MB / 453.4 MB, free: 4.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3069, allocations: 8 kB / 453.4 MB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3069, allocations: 4 kB / 453.4 MB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3069, allocations: 3.938 kB / 453.4 MB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.3076, allocations: 183.8 kB / 453.6 MB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3076, allocations: 4 kB / 453.6 MB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.308, allocations: 31.72 kB / 453.6 MB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.3081, allocations: 63.92 kB / 453.7 MB, free: 4.504 MB / 414.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.0002064/0.3083, allocations: 145.8 kB / 453.8 MB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.3084, allocations: 15.91 kB / 453.8 MB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008968/0.3174, allocations: 8.515 MB / 462.3 MB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-05/0.3174, allocations: 31.89 kB / 462.4 MB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3175, allocations: 0 / 462.4 MB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3175, allocations: 0 / 462.4 MB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/0.321, allocations: 3.64 MB / 466 MB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.321, allocations: 0 / 466 MB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.3216, allocations: 111.8 kB / 466.1 MB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3216, allocations: 4 kB / 466.1 MB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.3217, allocations: 8 kB / 466.1 MB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3217, allocations: 0 / 466.1 MB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.3217, allocations: 3.938 kB / 466.1 MB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.3243, allocations: 1.901 MB / 468 MB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.3244, allocations: 71.28 kB / 468.1 MB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.3245, allocations: 8 kB / 468.1 MB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.3248, allocations: 15.98 kB / 468.1 MB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3249, allocations: 39.86 kB / 468.2 MB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.3249, allocations: 12 kB / 468.2 MB, free: 5.699 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.657e-05/0.325, allocations: 95.2 kB / 468.3 MB, free: 5.605 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.325, allocations: 0 / 468.3 MB, free: 5.605 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002772/0.3278, allocations: 0.998 MB / 469.3 MB, free: 4.605 MB / 430.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.003629/0.3314, allocations: 1.154 MB / 470.4 MB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.3331, allocations: 0.8954 MB / 471.3 MB, free: 2.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3331, allocations: 0 / 471.3 MB, free: 2.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000768/0.3338, allocations: 0.5283 MB / 471.8 MB, free: 2.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.3345, allocations: 80.64 kB / 471.9 MB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.3364, allocations: 1.361 MB / 473.3 MB, free: 0.5469 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.3367, allocations: 251.2 kB / 473.5 MB, free: 284 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.1696/0.5063, allocations: 1.781 MB / 475.3 MB, free: 88.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.5067, allocations: 85.62 kB / 475.4 MB, free: 88.41 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5067, allocations: 0 / 475.4 MB, free: 88.41 MB / 430.1 MB Notification: Performance of Templates: time 0.04417/0.5508, allocations: 41.48 MB / 0.5048 GB, free: 57.21 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.456332534085959]