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.001793/0.001793, allocations: 111.9 kB / 19.17 MB, free: 3.895 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.002289/0.002289, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.519/1.519, allocations: 230.2 MB / 255.1 MB, free: 15.39 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.001833/0.001833, allocations: 59.89 kB / 375.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1045, allocations: 53.32 MB / 428.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01713/0.1217, allocations: 13.5 MB / 442.2 MB, free: 6.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.216/0.3377, allocations: 15.6 MB / 457.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.3378, allocations: 1.219 kB / 457.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.3381, allocations: 86.06 kB / 457.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.3384, allocations: 115 kB / 458 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01534/0.3538, allocations: 5.979 MB / 463.9 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.3543, allocations: 340 kB / 464.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.3544, allocations: 10.27 kB / 464.3 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004745/0.3548, allocations: 231.8 kB / 464.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.355, allocations: 115.2 kB / 464.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.355, allocations: 13.44 kB / 464.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01476/0.3698, allocations: 6.771 MB / 471.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3699, allocations: 43.67 kB / 471.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.3701, allocations: 109.6 kB / 471.6 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.3807, allocations: 3.924 MB / 475.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.3807, allocations: 0 / 475.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3807, allocations: 1.344 kB / 475.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.3807, allocations: 0 / 475.5 MB, free: 4.066 MB / 366.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.00333/0.3841, allocations: 1.017 MB / 476.5 MB, free: 3.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3841, allocations: 14.14 kB / 476.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3855, allocations: 186.8 kB / 476.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3858, allocations: 254 kB / 476.9 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.3859, allocations: 17.91 kB / 477 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.3859, allocations: 18.72 kB / 477 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.3889, allocations: 0.9115 MB / 477.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3889, allocations: 2.625 kB / 477.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.3889, allocations: 9.625 kB / 477.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.389, allocations: 6.25 kB / 477.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.3922, allocations: 0.9669 MB / 478.9 MB, free: 1.789 MB / 366.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.001394/0.3936, allocations: 1.352 MB / 480.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/0.3961, allocations: 0.7287 MB / 480.9 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.3964, allocations: 153.6 kB / 481.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0867/0.4831, allocations: 42.18 MB / 0.511 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.4831, allocations: 46.5 kB / 0.5111 GB, free: 5.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.4831, allocations: 0 / 0.5111 GB, free: 5.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.005673/0.4888, allocations: 1.354 MB / 0.5124 GB, free: 4.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.4889, allocations: 59.39 kB / 0.5124 GB, free: 4.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.489, allocations: 121.7 kB / 0.5126 GB, free: 4.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.232e-05/0.4891, allocations: 29.7 kB / 0.5126 GB, free: 4.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.4892, allocations: 120.9 kB / 0.5127 GB, free: 3.906 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.4893, allocations: 117.7 kB / 0.5128 GB, free: 3.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/0.4897, allocations: 165.5 kB / 0.513 GB, free: 3.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4898, allocations: 326.8 kB / 0.5133 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.4905, allocations: 339.6 kB / 0.5136 GB, free: 2.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007796/0.4913, allocations: 415.2 kB / 0.514 GB, free: 2.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.4928, allocations: 0.7064 MB / 0.5147 GB, free: 1.797 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4928, allocations: 384 / 0.5147 GB, free: 1.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001991/0.4948, allocations: 0.8761 MB / 0.5155 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4948, allocations: 4.625 kB / 0.5155 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4948, allocations: 4 kB / 0.5156 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4948, allocations: 11.88 kB / 0.5156 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007175/0.4955, allocations: 175.8 kB / 0.5157 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4955, allocations: 4 kB / 0.5157 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.4959, allocations: 40.03 kB / 0.5158 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.496, allocations: 63.92 kB / 0.5158 GB, free: 0.6172 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.0002656/0.4963, allocations: 141.7 kB / 0.516 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.4964, allocations: 15.91 kB / 0.516 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00832/0.5048, allocations: 7.979 MB / 0.5238 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/0.5048, allocations: 27.95 kB / 0.5238 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.5048, allocations: 0 / 0.5238 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.5048, allocations: 0 / 0.5238 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.5082, allocations: 3.603 MB / 0.5273 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.5082, allocations: 0 / 0.5273 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.5089, allocations: 107.8 kB / 0.5274 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.008e-05/0.5089, allocations: 4 kB / 0.5274 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.509, allocations: 11.94 kB / 0.5274 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.509, allocations: 0 / 0.5274 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.509, allocations: 4.875 kB / 0.5274 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.5116, allocations: 1.843 MB / 0.5292 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5117, allocations: 140.5 kB / 0.5294 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.5117, allocations: 11.94 kB / 0.5294 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.512, allocations: 16.05 kB / 0.5294 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.5121, allocations: 35.95 kB / 0.5294 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.5122, allocations: 8 kB / 0.5294 GB, free: 2.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.905e-05/0.5123, allocations: 95.2 kB / 0.5295 GB, free: 2.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5123, allocations: 0 / 0.5295 GB, free: 2.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00355/0.5158, allocations: 1.006 MB / 0.5305 GB, free: 1.27 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.004605/0.5204, allocations: 1.161 MB / 0.5317 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.5222, allocations: 0.8834 MB / 0.5325 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5222, allocations: 0 / 0.5325 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007674/0.523, allocations: 0.5134 MB / 0.533 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.5236, allocations: 81.64 kB / 0.5331 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.5257, allocations: 1.36 MB / 0.5344 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.5262, allocations: 0.8536 MB / 0.5353 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003845/0.5265, allocations: 91.34 kB / 0.5353 GB, free: 12.38 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5265, allocations: 4 kB / 0.5353 GB, free: 12.37 MB / 446.1 MB Notification: Performance of Templates: time 0.03625/0.5628, allocations: 24.16 MB / 0.5589 GB, free: 4.16 MB / 462.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.424498558044434]