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.002047/0.002047, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.00194/0.00194, allocations: 217.9 kB / 24.48 MB, free: 3.836 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.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.002728/0.002728, allocations: 75.88 kB / 379.8 MB, free: 1.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.265, allocations: 53.42 MB / 433.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01776/0.2827, allocations: 12.31 MB / 445.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.3024, allocations: 13.62 MB / 459.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3026, allocations: 0 / 459.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.303, allocations: 83.5 kB / 459.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004927/0.3035, allocations: 115.2 kB / 459.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0172/0.3207, allocations: 5.927 MB / 465.3 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.3213, allocations: 346.5 kB / 465.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.267e-05/0.3213, allocations: 5.812 kB / 465.6 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005341/0.3219, allocations: 227 kB / 465.8 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.322, allocations: 103.6 kB / 465.9 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.3221, allocations: 15.94 kB / 466 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0129/0.335, allocations: 6.47 MB / 472.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.3351, allocations: 43.83 kB / 472.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.3353, allocations: 99.64 kB / 472.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.3455, allocations: 3.909 MB / 476.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.3455, allocations: 0 / 476.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3455, allocations: 0 / 476.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.3455, allocations: 0 / 476.5 MB, free: 10.87 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.002955/0.3485, allocations: 0.9428 MB / 477.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3485, allocations: 11.98 kB / 477.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.3499, allocations: 184.6 kB / 477.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.3503, allocations: 202.1 kB / 477.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.3503, allocations: 20.81 kB / 477.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.3504, allocations: 28.11 kB / 477.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.3534, allocations: 0.9475 MB / 478.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3535, allocations: 0 / 478.8 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.3535, allocations: 12 kB / 478.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3535, allocations: 8 kB / 478.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/0.3566, allocations: 0.9655 MB / 479.8 MB, free: 7.469 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.001522/0.3581, allocations: 0.9088 MB / 480.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.3607, allocations: 0.7291 MB / 481.4 MB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.361, allocations: 148.8 kB / 481.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07328/0.4342, allocations: 20.64 MB / 0.4904 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.4343, allocations: 38.56 kB / 0.4905 GB, free: 0.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/0.4343, allocations: 3.938 kB / 0.4905 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.005209/0.4395, allocations: 1.349 MB / 0.4918 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4395, allocations: 59.34 kB / 0.4919 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.4397, allocations: 121.8 kB / 0.492 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.4398, allocations: 29.7 kB / 0.492 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.4398, allocations: 128.7 kB / 0.4921 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.44, allocations: 123 kB / 0.4922 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.4403, allocations: 165.6 kB / 0.4924 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4404, allocations: 322.8 kB / 0.4927 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/0.441, allocations: 339.8 kB / 0.493 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.4418, allocations: 403.5 kB / 0.4934 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4432, allocations: 0.7114 MB / 0.4941 GB, free: 13.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4432, allocations: 0 / 0.4941 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001919/0.4451, allocations: 0.8759 MB / 0.495 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4451, allocations: 4 kB / 0.495 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4451, allocations: 4 kB / 0.495 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.4452, allocations: 7.938 kB / 0.495 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.4458, allocations: 175.8 kB / 0.4952 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.4458, allocations: 4 kB / 0.4952 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.4462, allocations: 31.84 kB / 0.4952 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.4463, allocations: 64.48 kB / 0.4953 GB, free: 11.92 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.0002612/0.4466, allocations: 145.7 kB / 0.4954 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4467, allocations: 19.91 kB / 0.4954 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009117/0.4558, allocations: 8.497 MB / 0.5037 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/0.4559, allocations: 31.89 kB / 0.5037 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4559, allocations: 8 kB / 0.5037 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.4559, allocations: 3.984 kB / 0.5037 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.4595, allocations: 3.635 MB / 0.5073 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4595, allocations: 3.938 kB / 0.5073 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.4601, allocations: 111.8 kB / 0.5074 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.4601, allocations: 4 kB / 0.5074 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.4602, allocations: 8 kB / 0.5074 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4602, allocations: 0 / 0.5074 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4602, allocations: 3.938 kB / 0.5074 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.4629, allocations: 1.893 MB / 0.5093 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.463, allocations: 63.39 kB / 0.5093 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.4631, allocations: 8 kB / 0.5093 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.4634, allocations: 15.98 kB / 0.5094 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4635, allocations: 35.88 kB / 0.5094 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.4635, allocations: 12 kB / 0.5094 GB, free: 13.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.4636, allocations: 91.27 kB / 0.5095 GB, free: 13.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4636, allocations: 0 / 0.5095 GB, free: 13.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00286/0.4665, allocations: 1.002 MB / 0.5105 GB, free: 12.04 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.005129/0.4716, allocations: 1.164 MB / 0.5116 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.4733, allocations: 0.8834 MB / 0.5125 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4733, allocations: 288 / 0.5125 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008095/0.4742, allocations: 0.5322 MB / 0.513 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.4748, allocations: 83.11 kB / 0.5131 GB, free: 9.375 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.477, allocations: 1.394 MB / 0.5144 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4772, allocations: 255.2 kB / 0.5147 GB, free: 7.668 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.4776, allocations: 99.28 kB / 0.5148 GB, free: 7.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4776, allocations: 0 / 0.5148 GB, free: 7.57 MB / 430.1 MB Notification: Performance of Templates: time 0.245/0.7225, allocations: 24.33 MB / 0.5385 GB, free: 108 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.980770044960082]