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.001341/0.001341, allocations: 84 kB / 22 MB, free: 5.176 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.001414/0.001414, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.289/1.289, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 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: 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.00294/0.00294, allocations: 55.92 kB / 300.2 MB, free: 6.023 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2199, allocations: 49.14 MB / 349.3 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01657/0.2364, allocations: 12.21 MB / 361.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01856/0.255, allocations: 13.63 MB / 375.2 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.2551, allocations: 4 kB / 375.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.2555, allocations: 71.52 kB / 375.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.2558, allocations: 111.2 kB / 375.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01573/0.2715, allocations: 5.905 MB / 381.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005127/0.2721, allocations: 338.5 kB / 381.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.2721, allocations: 9.812 kB / 381.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.2726, allocations: 223 kB / 381.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.2728, allocations: 103.6 kB / 381.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.2728, allocations: 12 kB / 381.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01251/0.2853, allocations: 6.454 MB / 388.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.319e-05/0.2854, allocations: 39.89 kB / 388.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2855, allocations: 91.66 kB / 388.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006252/0.2918, allocations: 3.894 MB / 392.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2918, allocations: 0 / 392.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2918, allocations: 4 kB / 392.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2918, allocations: 0 / 392.4 MB, free: 4.043 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.002296/0.2941, allocations: 0.9352 MB / 393.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2941, allocations: 15.92 kB / 393.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.2956, allocations: 176.7 kB / 393.5 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.2959, allocations: 198.2 kB / 393.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.2959, allocations: 20.88 kB / 393.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.296, allocations: 24.08 kB / 393.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.2992, allocations: 0.9562 MB / 394.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2992, allocations: 4 kB / 394.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.2993, allocations: 12 kB / 394.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.2993, allocations: 7.984 kB / 394.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.3026, allocations: 0.9619 MB / 395.7 MB, free: 0.6484 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.001545/0.3041, allocations: 0.9165 MB / 396.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.3068, allocations: 0.7166 MB / 397.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.3071, allocations: 156.7 kB / 397.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07422/0.3813, allocations: 19.72 MB / 417.2 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.3814, allocations: 34.56 kB / 417.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/0.3814, allocations: 0 / 417.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.005708/0.3871, allocations: 1.36 MB / 418.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.3871, allocations: 59.34 kB / 418.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3873, allocations: 133.6 kB / 418.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.3873, allocations: 29.7 kB / 418.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.3874, allocations: 116.8 kB / 419 MB, free: 9.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.3875, allocations: 119 kB / 419.1 MB, free: 9.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.3878, allocations: 169.5 kB / 419.2 MB, free: 9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.388, allocations: 326.8 kB / 419.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.3887, allocations: 335.8 kB / 419.9 MB, free: 8.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.3894, allocations: 411.3 kB / 420.3 MB, free: 7.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.3909, allocations: 0.7036 MB / 421 MB, free: 7.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3909, allocations: 4 kB / 421 MB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002005/0.3929, allocations: 0.8642 MB / 421.9 MB, free: 6.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3929, allocations: 8.25 kB / 421.9 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3929, allocations: 4 kB / 421.9 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3929, allocations: 7.938 kB / 421.9 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.3936, allocations: 175.8 kB / 422 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.3936, allocations: 7.938 kB / 422.1 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.394, allocations: 35.83 kB / 422.1 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.3941, allocations: 67.92 kB / 422.2 MB, free: 6.008 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.0002149/0.3943, allocations: 146 kB / 422.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.3945, allocations: 19.91 kB / 422.3 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009013/0.4035, allocations: 8.503 MB / 430.8 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/0.4035, allocations: 31.89 kB / 430.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4035, allocations: 0 / 430.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4035, allocations: 0 / 430.8 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.407, allocations: 3.64 MB / 434.5 MB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.407, allocations: 3.938 kB / 434.5 MB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006496/0.4076, allocations: 103.9 kB / 434.6 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4077, allocations: 4 kB / 434.6 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.4077, allocations: 15.98 kB / 434.6 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4077, allocations: 0 / 434.6 MB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4077, allocations: 7.875 kB / 434.6 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.4104, allocations: 1.889 MB / 436.5 MB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.23e-05/0.4104, allocations: 71.33 kB / 436.6 MB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.4105, allocations: 8.062 kB / 436.6 MB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.4108, allocations: 16 kB / 436.6 MB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.4109, allocations: 35.88 kB / 436.6 MB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.4109, allocations: 15.98 kB / 436.7 MB, free: 7.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.411, allocations: 91.27 kB / 436.7 MB, free: 7.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.411, allocations: 0 / 436.7 MB, free: 7.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002599/0.4136, allocations: 0.9864 MB / 437.7 MB, free: 6.137 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.003582/0.4172, allocations: 1.141 MB / 438.9 MB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.4188, allocations: 0.8954 MB / 439.8 MB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4188, allocations: 0 / 439.8 MB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007782/0.4196, allocations: 0.5283 MB / 440.3 MB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.4203, allocations: 88.14 kB / 440.4 MB, free: 3.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.4223, allocations: 1.34 MB / 441.7 MB, free: 2.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.4225, allocations: 259.1 kB / 442 MB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002116/0.4246, allocations: 1.787 MB / 443.8 MB, free: 36 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.425, allocations: 84.42 kB / 443.8 MB, free: 15.95 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.425, allocations: 4 kB / 443.8 MB, free: 15.95 MB / 414.1 MB Notification: Performance of Templates: time 0.2091/0.6341, allocations: 41.31 MB / 485.2 MB, free: 115.2 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 -s ida -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: 7.206861332990229]