Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001889/0.001889, allocations: 213.5 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 379.9 MB, free: 1.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2455, allocations: 53.41 MB / 433.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01853/0.2641, allocations: 13.57 MB / 446.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01949/0.2836, allocations: 15.65 MB / 462.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.2838, allocations: 4 kB / 462.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.2842, allocations: 83.53 kB / 462.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.2846, allocations: 107.2 kB / 462.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01749/0.3021, allocations: 5.993 MB / 468.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000629/0.3027, allocations: 342.5 kB / 469 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.3028, allocations: 9.812 kB / 469 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005949/0.3034, allocations: 246.9 kB / 469.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.3036, allocations: 107.6 kB / 469.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.3036, allocations: 16 kB / 469.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0144/0.318, allocations: 6.774 MB / 476.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3181, allocations: 47.83 kB / 476.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.3183, allocations: 111.5 kB / 476.3 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.3289, allocations: 3.921 MB / 480.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.329, allocations: 0 / 480.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.329, allocations: 3.938 kB / 480.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.329, allocations: 0 / 480.2 MB, free: 7.402 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.003127/0.3321, allocations: 0.9428 MB / 481.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3321, allocations: 8.031 kB / 481.2 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.3336, allocations: 180.6 kB / 481.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.334, allocations: 206.2 kB / 481.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.334, allocations: 16.81 kB / 481.6 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.3341, allocations: 28.12 kB / 481.6 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003264/0.3373, allocations: 0.9011 MB / 482.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3373, allocations: 4 kB / 482.5 MB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.3374, allocations: 15.98 kB / 482.5 MB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.3374, allocations: 4 kB / 482.5 MB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003324/0.3407, allocations: 0.9695 MB / 483.5 MB, free: 4.059 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.001907/0.3426, allocations: 1.307 MB / 484.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.3453, allocations: 0.733 MB / 485.5 MB, free: 1.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.3456, allocations: 148.8 kB / 485.7 MB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07137/0.417, allocations: 20.55 MB / 0.4944 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.417, allocations: 34.56 kB / 0.4944 GB, free: 13.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.417, allocations: 0 / 0.4944 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.00546/0.4225, allocations: 1.365 MB / 0.4957 GB, free: 11.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.4226, allocations: 55.41 kB / 0.4958 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.4227, allocations: 117.8 kB / 0.4959 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.519e-05/0.4228, allocations: 29.7 kB / 0.4959 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.4229, allocations: 132.7 kB / 0.4961 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.423, allocations: 119 kB / 0.4962 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.4233, allocations: 161.6 kB / 0.4963 GB, free: 11.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4235, allocations: 326.8 kB / 0.4966 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.4241, allocations: 340 kB / 0.497 GB, free: 10.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007296/0.4248, allocations: 407.5 kB / 0.4974 GB, free: 10.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.4262, allocations: 0.7036 MB / 0.498 GB, free: 9.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4262, allocations: 3.938 kB / 0.498 GB, free: 9.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001893/0.4281, allocations: 0.8758 MB / 0.4989 GB, free: 8.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4281, allocations: 4 kB / 0.4989 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.4281, allocations: 7.938 kB / 0.4989 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4282, allocations: 4 kB / 0.4989 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.4289, allocations: 183.7 kB / 0.4991 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4289, allocations: 4 kB / 0.4991 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.4292, allocations: 28.09 kB / 0.4991 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4294, allocations: 71.92 kB / 0.4992 GB, free: 8.102 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.000263/0.4296, allocations: 133.8 kB / 0.4993 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.4298, allocations: 15.91 kB / 0.4993 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008992/0.4388, allocations: 8.513 MB / 0.5076 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/0.4388, allocations: 35.95 kB / 0.5077 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.4388, allocations: 0 / 0.5077 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.4388, allocations: 3.984 kB / 0.5077 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.4425, allocations: 3.775 MB / 0.5114 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4425, allocations: 0 / 0.5114 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/0.4432, allocations: 111.8 kB / 0.5115 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.4432, allocations: 4 kB / 0.5115 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.4432, allocations: 11.94 kB / 0.5115 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4432, allocations: 3.984 kB / 0.5115 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4432, allocations: 0 / 0.5115 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002692/0.4459, allocations: 1.878 MB / 0.5133 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.446, allocations: 71.33 kB / 0.5134 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.4461, allocations: 7.938 kB / 0.5134 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.4464, allocations: 15.98 kB / 0.5134 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.4465, allocations: 36 kB / 0.5135 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.4465, allocations: 15.98 kB / 0.5135 GB, free: 9.172 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.4466, allocations: 95.16 kB / 0.5136 GB, free: 9.078 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4466, allocations: 0 / 0.5136 GB, free: 9.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002896/0.4495, allocations: 1.002 MB / 0.5145 GB, free: 8.074 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.00426/0.4537, allocations: 1.153 MB / 0.5157 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.4555, allocations: 0.8955 MB / 0.5165 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4555, allocations: 0 / 0.5165 GB, free: 6.016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007636/0.4563, allocations: 0.5244 MB / 0.517 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.457, allocations: 90.94 kB / 0.5171 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.4591, allocations: 1.374 MB / 0.5185 GB, free: 3.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.4595, allocations: 0.8536 MB / 0.5193 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.4599, allocations: 95.34 kB / 0.5194 GB, free: 3.02 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4599, allocations: 4 kB / 0.5194 GB, free: 3.016 MB / 430.1 MB Notification: Performance of Templates: time 0.2577/0.7175, allocations: 24.17 MB / 0.543 GB, free: 96.43 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.904416263103485]