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.001883/0.001883, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.00219/0.00219, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.437/1.437, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001972/0.001972, allocations: 58.56 kB / 348.5 MB, free: 8.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2349, allocations: 49.16 MB / 397.7 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.0149/0.2498, allocations: 12.22 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01953/0.2693, allocations: 13.63 MB / 423.5 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.2696, allocations: 5.188 kB / 423.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.2701, allocations: 68.89 kB / 423.6 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005626/0.2706, allocations: 108.2 kB / 423.7 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02125/0.2919, allocations: 5.91 MB / 429.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005984/0.2925, allocations: 342.5 kB / 429.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.522e-05/0.2925, allocations: 9.812 kB / 429.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006036/0.2931, allocations: 211.1 kB / 430.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.2934, allocations: 103.5 kB / 430.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.2934, allocations: 16 kB / 430.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01452/0.3079, allocations: 6.462 MB / 436.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.308, allocations: 39.84 kB / 436.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3082, allocations: 87.66 kB / 436.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009837/0.318, allocations: 3.898 MB / 440.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.318, allocations: 0 / 440.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.318, allocations: 0 / 440.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.318, allocations: 0 / 440.8 MB, free: 7.734 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.002889/0.3209, allocations: 0.9351 MB / 441.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.321, allocations: 15.97 kB / 441.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.3225, allocations: 176.7 kB / 441.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.323, allocations: 202.1 kB / 442.1 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.323, allocations: 24.75 kB / 442.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.3231, allocations: 28.08 kB / 442.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.3263, allocations: 0.9514 MB / 443.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3263, allocations: 0 / 443.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.3264, allocations: 12 kB / 443.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3264, allocations: 4 kB / 443.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.3296, allocations: 0.9656 MB / 444.1 MB, free: 4.336 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.001637/0.3313, allocations: 0.9123 MB / 445 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.3338, allocations: 0.7244 MB / 445.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.3341, allocations: 148.8 kB / 445.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07702/0.4111, allocations: 19.72 MB / 465.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.4112, allocations: 38.48 kB / 465.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.4112, allocations: 8 kB / 465.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.005338/0.4165, allocations: 1.356 MB / 467 MB, free: 13.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.4166, allocations: 59.34 kB / 467 MB, free: 13.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4167, allocations: 125.8 kB / 467.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.4168, allocations: 29.7 kB / 467.2 MB, free: 13.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.4169, allocations: 116.8 kB / 467.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.417, allocations: 122.9 kB / 467.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.4173, allocations: 165.5 kB / 467.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4175, allocations: 330.8 kB / 467.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.4181, allocations: 339.8 kB / 468.2 MB, free: 12.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007639/0.4189, allocations: 407.3 kB / 468.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.4203, allocations: 0.7075 MB / 469.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4203, allocations: 0 / 469.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00194/0.4223, allocations: 0.8761 MB / 470.2 MB, free: 9.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.4223, allocations: 4.375 kB / 470.2 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.4223, allocations: 4 kB / 470.2 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4223, allocations: 7.938 kB / 470.2 MB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/0.423, allocations: 171.8 kB / 470.4 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.423, allocations: 7.938 kB / 470.4 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.4233, allocations: 31.83 kB / 470.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4235, allocations: 67.92 kB / 470.5 MB, free: 9.699 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.0002412/0.4237, allocations: 141.7 kB / 470.6 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.4239, allocations: 19.94 kB / 470.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009224/0.4331, allocations: 8.486 MB / 479.1 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/0.4331, allocations: 31.89 kB / 479.2 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4331, allocations: 0 / 479.2 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4331, allocations: 3.984 kB / 479.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/0.4369, allocations: 3.639 MB / 482.8 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.4369, allocations: 8 kB / 482.8 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/0.4376, allocations: 107.8 kB / 482.9 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.4376, allocations: 0 / 482.9 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.4376, allocations: 19.92 kB / 482.9 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4376, allocations: 4 kB / 482.9 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4376, allocations: 3.938 kB / 483 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.4405, allocations: 1.886 MB / 484.8 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.4406, allocations: 75.39 kB / 484.9 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.4407, allocations: 8 kB / 484.9 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.441, allocations: 12 kB / 484.9 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.4411, allocations: 35.88 kB / 485 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.4411, allocations: 19.97 kB / 485 MB, free: 10.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.133e-05/0.4412, allocations: 95.2 kB / 485.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4412, allocations: 0 / 485.1 MB, free: 10.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00388/0.4451, allocations: 0.9825 MB / 486.1 MB, free: 9.836 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.004865/0.45, allocations: 1.126 MB / 487.2 MB, free: 8.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.4516, allocations: 0.8912 MB / 488.1 MB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4516, allocations: 4 kB / 488.1 MB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007694/0.4524, allocations: 0.5244 MB / 488.6 MB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.4531, allocations: 88.58 kB / 488.7 MB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.4551, allocations: 1.355 MB / 490 MB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.4553, allocations: 255.1 kB / 490.3 MB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002119/0.4575, allocations: 1.78 MB / 492.1 MB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.4578, allocations: 87.36 kB / 492.2 MB, free: 3.664 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4578, allocations: 0 / 492.2 MB, free: 3.664 MB / 398.1 MB Notification: Performance of Templates: time 0.05975/0.5176, allocations: 41.79 MB / 0.5214 GB, free: 9.676 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins/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: 7.154542911797762]