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.001321/0.001321, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001451/0.001451, allocations: 216.4 kB / 24.48 MB, free: 3.941 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.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.002339/0.002339, allocations: 47.92 kB / 379.8 MB, free: 1.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2426, allocations: 53.36 MB / 433.2 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01579/0.2584, allocations: 12.31 MB / 445.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01756/0.276, allocations: 13.64 MB / 459.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.2761, allocations: 0 / 459.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.2764, allocations: 71.53 kB / 459.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.2767, allocations: 111.2 kB / 459.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01417/0.2909, allocations: 5.929 MB / 465.2 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.2913, allocations: 342.5 kB / 465.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.933e-05/0.2914, allocations: 9.812 kB / 465.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.2918, allocations: 223 kB / 465.8 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.292, allocations: 115.5 kB / 465.9 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.292, allocations: 16 kB / 465.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.3034, allocations: 6.736 MB / 472.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.3035, allocations: 47.83 kB / 472.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.3036, allocations: 87.66 kB / 472.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005871/0.3095, allocations: 3.913 MB / 476.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3095, allocations: 0 / 476.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3095, allocations: 7.938 kB / 476.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3095, allocations: 0 / 476.7 MB, free: 10.78 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.002222/0.3118, allocations: 0.935 MB / 477.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3118, allocations: 16.02 kB / 477.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.3133, allocations: 180.5 kB / 477.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.3136, allocations: 206.2 kB / 478 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.3137, allocations: 16.81 kB / 478 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.3137, allocations: 32.12 kB / 478.1 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.3174, allocations: 0.9514 MB / 479 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3174, allocations: 3.938 kB / 479 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.3174, allocations: 4 kB / 479 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.3174, allocations: 8 kB / 479 MB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003767/0.3212, allocations: 0.9657 MB / 480 MB, free: 7.383 MB / 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.001525/0.3227, allocations: 0.9009 MB / 480.9 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.3258, allocations: 0.7293 MB / 481.6 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.3261, allocations: 152.8 kB / 481.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07643/0.4025, allocations: 20.64 MB / 0.4906 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.4026, allocations: 34.56 kB / 0.4907 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.4026, allocations: 0 / 0.4907 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.0058/0.4084, allocations: 1.356 MB / 0.492 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.4084, allocations: 59.34 kB / 0.4921 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4085, allocations: 125.8 kB / 0.4922 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.4086, allocations: 33.7 kB / 0.4922 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.4087, allocations: 120.8 kB / 0.4923 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.4088, allocations: 119 kB / 0.4924 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.4091, allocations: 165.6 kB / 0.4926 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4093, allocations: 326.8 kB / 0.4929 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006776/0.41, allocations: 336.2 kB / 0.4932 GB, free: 14.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.4108, allocations: 407.5 kB / 0.4936 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4122, allocations: 0.7153 MB / 0.4943 GB, free: 13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4122, allocations: 3.938 kB / 0.4943 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002028/0.4142, allocations: 0.868 MB / 0.4952 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4143, allocations: 8 kB / 0.4952 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4143, allocations: 256 / 0.4952 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4143, allocations: 11.94 kB / 0.4952 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.415, allocations: 179.8 kB / 0.4954 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4151, allocations: 0 / 0.4954 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.4154, allocations: 35.77 kB / 0.4954 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.4156, allocations: 59.94 kB / 0.4955 GB, free: 11.84 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.0002386/0.4158, allocations: 141.8 kB / 0.4956 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.416, allocations: 15.91 kB / 0.4956 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008727/0.4247, allocations: 8.497 MB / 0.5039 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/0.4247, allocations: 31.89 kB / 0.5039 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4247, allocations: 0 / 0.5039 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.4247, allocations: 7.922 kB / 0.5039 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.4281, allocations: 3.639 MB / 0.5075 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.4281, allocations: 0 / 0.5075 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.4289, allocations: 111.8 kB / 0.5076 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4289, allocations: 4 kB / 0.5076 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.4289, allocations: 15.98 kB / 0.5076 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4289, allocations: 4 kB / 0.5076 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4289, allocations: 7.922 kB / 0.5076 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.4316, allocations: 1.886 MB / 0.5095 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.4316, allocations: 71.3 kB / 0.5095 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.4317, allocations: 4 kB / 0.5095 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.432, allocations: 20.06 kB / 0.5096 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.4321, allocations: 35.88 kB / 0.5096 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.4322, allocations: 11.98 kB / 0.5096 GB, free: 13.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.719e-05/0.4322, allocations: 99.2 kB / 0.5097 GB, free: 12.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4322, allocations: 0 / 0.5097 GB, free: 12.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002649/0.4349, allocations: 0.9941 MB / 0.5107 GB, free: 11.95 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.003728/0.4386, allocations: 1.145 MB / 0.5118 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.4402, allocations: 0.892 MB / 0.5127 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4402, allocations: 0 / 0.5127 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.441, allocations: 0.536 MB / 0.5132 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.4417, allocations: 86.77 kB / 0.5133 GB, free: 9.289 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.4436, allocations: 1.357 MB / 0.5146 GB, free: 7.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.4438, allocations: 255.1 kB / 0.5148 GB, free: 7.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002206/0.446, allocations: 1.783 MB / 0.5166 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.4464, allocations: 87.34 kB / 0.5167 GB, free: 5.762 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4464, allocations: 0 / 0.5167 GB, free: 5.762 MB / 430.1 MB Notification: Performance of Templates: time 0.2129/0.6593, allocations: 42.28 MB / 0.5579 GB, free: 96.35 MB / 446.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 gbode -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.106496692998917]