Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009246/0.0009246, allocations: 79.73 kB / 21.97 MB, free: 2.59 MB / 18.57 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.0009862/0.0009862, allocations: 169 kB / 25.33 MB, free: 9.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7746/0.7746, allocations: 158.6 MB / 187.2 MB, free: 2.52 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 253.9 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.799e-05, allocations: 2.312 kB / 253.9 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01105/0.01107, allocations: 13.35 MB / 267.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.02287, allocations: 15.21 MB / 282.5 MB, free: 4.008 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.02296, allocations: 3.938 kB / 282.5 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.02326, allocations: 71.58 kB / 282.6 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.02354, allocations: 123.1 kB / 282.7 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.03388, allocations: 5.957 MB / 288.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.03421, allocations: 358.3 kB / 289 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.03424, allocations: 5.812 kB / 289 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.03461, allocations: 267 kB / 289.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.03472, allocations: 87.77 kB / 289.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.03474, allocations: 16 kB / 289.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00734/0.04208, allocations: 6.473 MB / 295.8 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.04215, allocations: 43.88 kB / 295.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.04221, allocations: 71.84 kB / 295.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.04679, allocations: 4.911 MB / 300.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.04679, allocations: 0 / 300.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.04679, allocations: 0 / 300.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.0468, allocations: 4 kB / 300.9 MB, free: 1.594 MB / 282.7 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.001485/0.04828, allocations: 1.031 MB / 301.9 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.04832, allocations: 15.98 kB / 301.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008451/0.04916, allocations: 283.9 kB / 302.2 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.04938, allocations: 208.3 kB / 302.4 MB, free: 0 / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.04943, allocations: 15.7 kB / 302.4 MB, free: 27.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.04951, allocations: 24.06 kB / 302.4 MB, free: 27.77 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.05143, allocations: 1.108 MB / 303.5 MB, free: 27.61 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.05144, allocations: 0 / 303.5 MB, free: 27.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.05147, allocations: 7.375 kB / 303.5 MB, free: 27.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.05148, allocations: 4.5 kB / 303.5 MB, free: 27.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.05314, allocations: 0.961 MB / 304.5 MB, free: 27.61 MB / 282.7 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.0008653/0.054, allocations: 1.055 MB / 305.6 MB, free: 26.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.05543, allocations: 0.8641 MB / 306.4 MB, free: 26.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.05555, allocations: 108.8 kB / 306.5 MB, free: 26.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03056/0.0861, allocations: 19.7 MB / 326.2 MB, free: 22.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.08614, allocations: 41.27 kB / 326.3 MB, free: 22.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.08614, allocations: 0 / 326.3 MB, free: 22.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.002645/0.08879, allocations: 1.517 MB / 327.8 MB, free: 21.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.0888, allocations: 55.41 kB / 327.8 MB, free: 21.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.08887, allocations: 191 kB / 328 MB, free: 21.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.08891, allocations: 33.52 kB / 328.1 MB, free: 21.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.08895, allocations: 168.6 kB / 328.2 MB, free: 21.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.08902, allocations: 114.2 kB / 328.3 MB, free: 20.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.08917, allocations: 169.3 kB / 328.5 MB, free: 20.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.08921, allocations: 0.4952 MB / 329 MB, free: 20.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.08954, allocations: 409.2 kB / 329.4 MB, free: 20 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003545/0.08989, allocations: 0.4954 MB / 329.9 MB, free: 19.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.09057, allocations: 0.8486 MB / 330.7 MB, free: 18.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.09057, allocations: 7.938 kB / 330.8 MB, free: 18.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000972/0.09154, allocations: 1.013 MB / 331.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.09156, allocations: 8.875 kB / 331.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.09156, allocations: 4 kB / 331.8 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.09158, allocations: 4 kB / 331.8 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.09189, allocations: 173.5 kB / 332 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.09189, allocations: 4 kB / 332 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.09204, allocations: 34 kB / 332 MB, free: 17.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.0921, allocations: 58.75 kB / 332 MB, free: 17.69 MB / 282.7 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.0001266/0.09222, allocations: 184.8 kB / 332.2 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.09234, allocations: 27.66 kB / 332.3 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.09504, allocations: 5.293 MB / 337.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.09506, allocations: 30.02 kB / 337.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.09506, allocations: 4 kB / 337.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.09507, allocations: 3.984 kB / 337.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00083/0.0959, allocations: 1.908 MB / 339.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.0959, allocations: 9.688 kB / 339.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.09618, allocations: 106.9 kB / 339.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.09618, allocations: 4 kB / 339.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.09621, allocations: 11.61 kB / 339.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.09621, allocations: 3.656 kB / 339.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.09621, allocations: 3.125 kB / 339.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.09719, allocations: 1.309 MB / 340.9 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.09722, allocations: 77.25 kB / 341 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.09725, allocations: 4.469 kB / 341 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.09738, allocations: 11.97 kB / 341 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.09745, allocations: 31.88 kB / 341.1 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.09747, allocations: 19.8 kB / 341.1 MB, free: 9.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.454e-05/0.0975, allocations: 131.1 kB / 341.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0975, allocations: 0 / 341.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001677/0.09917, allocations: 0.9943 MB / 342.2 MB, free: 8.277 MB / 282.7 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.002439/0.1016, allocations: 1.268 MB / 343.5 MB, free: 7.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.1024, allocations: 0.7996 MB / 344.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1024, allocations: 4.5 kB / 344.3 MB, free: 6.414 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.1027, allocations: 374 kB / 344.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1031, allocations: 105.7 kB / 344.7 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1043, allocations: 1.142 MB / 345.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.061e-05/0.1044, allocations: 148.6 kB / 346 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009272/0.1053, allocations: 1.783 MB / 347.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.1055, allocations: 87.17 kB / 347.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1055, allocations: 0 / 347.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of Templates: time 0.04456/0.1501, allocations: 51.09 MB / 399 MB, free: 24 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.032488018274307]