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.001709/0.001709, allocations: 108.9 kB / 21.93 MB, free: 5.223 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.001766/0.001766, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 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 1.473/1.473, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 51.94 kB / 349.3 MB, free: 8.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.298, allocations: 49.16 MB / 398.4 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01536/0.3134, allocations: 12.22 MB / 410.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01879/0.3321, allocations: 13.62 MB / 424.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.3324, allocations: 1.062 kB / 424.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.3329, allocations: 72.98 kB / 424.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.3333, allocations: 111.5 kB / 424.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01985/0.3531, allocations: 5.918 MB / 430.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.3538, allocations: 346.5 kB / 430.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.3538, allocations: 9.812 kB / 430.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.3544, allocations: 211.1 kB / 430.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.3546, allocations: 103.5 kB / 431 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.3546, allocations: 16 kB / 431 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01552/0.3701, allocations: 6.45 MB / 437.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3703, allocations: 47.83 kB / 437.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3705, allocations: 83.73 kB / 437.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.3833, allocations: 3.902 MB / 441.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3833, allocations: 0 / 441.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3833, allocations: 0 / 441.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.3833, allocations: 0 / 441.5 MB, free: 7.754 MB / 350.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.003282/0.3866, allocations: 0.9312 MB / 442.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.3867, allocations: 15.98 kB / 442.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.3881, allocations: 176.7 kB / 442.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.3885, allocations: 198.2 kB / 442.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.3886, allocations: 16.81 kB / 442.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.3886, allocations: 32.08 kB / 442.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.3917, allocations: 0.9592 MB / 443.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3917, allocations: 3.938 kB / 443.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.3917, allocations: 4 kB / 443.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.3917, allocations: 11.94 kB / 443.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.3948, allocations: 0.9579 MB / 444.8 MB, free: 4.363 MB / 350.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.001592/0.3964, allocations: 0.9123 MB / 445.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.3988, allocations: 0.7166 MB / 446.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.3991, allocations: 152.8 kB / 446.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07338/0.4725, allocations: 19.73 MB / 466.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4725, allocations: 34.5 kB / 466.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.4725, allocations: 4 kB / 466.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.005109/0.4776, allocations: 1.36 MB / 467.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.4777, allocations: 59.34 kB / 467.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.4778, allocations: 121.8 kB / 467.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.4779, allocations: 33.7 kB / 467.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.478, allocations: 112.9 kB / 468 MB, free: 13.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.4781, allocations: 119 kB / 468.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.4784, allocations: 169.5 kB / 468.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4786, allocations: 334.8 kB / 468.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.4792, allocations: 335.8 kB / 469 MB, free: 12.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007168/0.4799, allocations: 411.3 kB / 469.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.4812, allocations: 0.7036 MB / 470.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4812, allocations: 0 / 470.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001809/0.4831, allocations: 0.8799 MB / 471 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4831, allocations: 4 kB / 471 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4831, allocations: 4 kB / 471 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4831, allocations: 7.938 kB / 471 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.4837, allocations: 171.8 kB / 471.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.4837, allocations: 7.984 kB / 471.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.4841, allocations: 27.78 kB / 471.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.4842, allocations: 67.92 kB / 471.2 MB, free: 9.73 MB / 382.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.0002504/0.4844, allocations: 145.8 kB / 471.4 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.4846, allocations: 15.91 kB / 471.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008749/0.4933, allocations: 8.494 MB / 479.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/0.4934, allocations: 31.89 kB / 479.9 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4934, allocations: 0 / 479.9 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4934, allocations: 0 / 479.9 MB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.4969, allocations: 3.643 MB / 483.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4969, allocations: 0 / 483.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.4975, allocations: 111.8 kB / 483.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4975, allocations: 0 / 483.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.4976, allocations: 15.98 kB / 483.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.4976, allocations: 4 kB / 483.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4976, allocations: 3.938 kB / 483.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.5003, allocations: 1.886 MB / 485.6 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.742e-05/0.5004, allocations: 71.28 kB / 485.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.5005, allocations: 12 kB / 485.7 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.5008, allocations: 11.98 kB / 485.7 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/0.5009, allocations: 35.83 kB / 485.7 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.5009, allocations: 19.98 kB / 485.7 MB, free: 10.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.172e-05/0.501, allocations: 91.27 kB / 485.8 MB, free: 10.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.501, allocations: 0 / 485.8 MB, free: 10.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002815/0.5038, allocations: 0.9864 MB / 486.8 MB, free: 9.863 MB / 398.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.004232/0.508, allocations: 1.123 MB / 487.9 MB, free: 8.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.5097, allocations: 0.8951 MB / 488.8 MB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5097, allocations: 0 / 488.8 MB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.5105, allocations: 0.5321 MB / 489.4 MB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.5112, allocations: 84.58 kB / 489.4 MB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.5133, allocations: 1.381 MB / 490.8 MB, free: 5.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.5135, allocations: 251.2 kB / 491.1 MB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.5139, allocations: 87.36 kB / 491.2 MB, free: 5.453 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5139, allocations: 4 kB / 491.2 MB, free: 5.449 MB / 398.1 MB Notification: Performance of Templates: time 0.03893/0.5528, allocations: 24.11 MB / 0.5032 GB, free: 13.26 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.795108661986887]