Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.0009984/0.0009984, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.000985/0.000985, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.929/0.929, allocations: 158.6 MB / 187.5 MB, free: 2.949 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.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 251.2 MB, free: 7.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.118e-05, allocations: 2.312 kB / 251.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02488/0.0249, allocations: 33.4 MB / 284.6 MB, free: 6.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.03793, allocations: 15.59 MB / 300.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.0382, allocations: 11.94 kB / 300.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.03885, allocations: 254.3 kB / 300.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00077/0.03962, allocations: 377.5 kB / 300.8 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.04977, allocations: 5.793 MB / 306.6 MB, free: 156 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009659/0.05074, allocations: 1.02 MB / 307.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.05091, allocations: 73.23 kB / 307.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003498/0.05441, allocations: 2.333 MB / 310 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.05471, allocations: 275.2 kB / 310.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.05476, allocations: 40 kB / 310.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008025/0.06278, allocations: 5.849 MB / 316.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.06294, allocations: 115.6 kB / 316.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.06318, allocations: 179.7 kB / 316.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007265/0.07045, allocations: 4.537 MB / 321 MB, free: 1.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.07046, allocations: 3.984 kB / 321 MB, free: 1.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.07046, allocations: 0 / 321 MB, free: 1.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.07047, allocations: 0 / 321 MB, free: 1.684 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001828/0.07229, allocations: 1.027 MB / 322 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.07234, allocations: 11.98 kB / 322 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.07323, allocations: 227.8 kB / 322.2 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.0739, allocations: 264 kB / 322.5 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.07392, allocations: 25.03 kB / 322.5 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.07398, allocations: 40.38 kB / 322.6 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.07477, allocations: 0.6756 MB / 323.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.07479, allocations: 4.188 kB / 323.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.07482, allocations: 23.94 kB / 323.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.07484, allocations: 8 kB / 323.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.0752, allocations: 235.5 kB / 323.5 MB, free: 14.99 MB / 314.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.001716/0.07691, allocations: 2.102 MB / 325.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.0773, allocations: 211.2 kB / 325.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.807e-05/0.07739, allocations: 79.62 kB / 325.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02902/0.1064, allocations: 16.83 MB / 342.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.1064, allocations: 45.39 kB / 342.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.813e-06/0.1065, allocations: 0 / 342.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.002151/0.1086, allocations: 0.907 MB / 343.7 MB, free: 10.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.1086, allocations: 55.41 kB / 343.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.1091, allocations: 277.5 kB / 344 MB, free: 10.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1091, allocations: 29.7 kB / 344 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1092, allocations: 243.1 kB / 344.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.1092, allocations: 115 kB / 344.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.1093, allocations: 87.78 kB / 344.5 MB, free: 9.805 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1095, allocations: 0.504 MB / 345 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.1095, allocations: 56.95 kB / 345 MB, free: 9.234 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1097, allocations: 223.6 kB / 345.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.11, allocations: 306.4 kB / 345.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.11, allocations: 3.984 kB / 345.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004322/0.1104, allocations: 356.6 kB / 345.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1104, allocations: 8 kB / 345.9 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1104, allocations: 4 kB / 345.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.1106, allocations: 55.28 kB / 346 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1108, allocations: 87.89 kB / 346 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.1123, allocations: 3.434 MB / 349.5 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1124, allocations: 8 kB / 349.5 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.1124, allocations: 20 kB / 349.5 MB, free: 4.398 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.1126, allocations: 200.4 kB / 349.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.854e-05/0.1126, allocations: 39.81 kB / 349.7 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.1132, allocations: 0.5645 MB / 350.3 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1132, allocations: 7.984 kB / 350.3 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1132, allocations: 3.938 kB / 350.3 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007265/0.1139, allocations: 0.7408 MB / 351.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008886/0.1148, allocations: 0.9943 MB / 352 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1148, allocations: 4 kB / 352.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.115, allocations: 55.91 kB / 352.1 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.1152, allocations: 55.62 kB / 352.2 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1152, allocations: 4 kB / 352.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002625/0.1154, allocations: 0.7999 MB / 353 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1154, allocations: 0 / 353 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.116, allocations: 0.6042 MB / 353.6 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.116, allocations: 39.67 kB / 353.6 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.116, allocations: 19.98 kB / 353.6 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1162, allocations: 19.98 kB / 353.6 MB, free: 28 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1162, allocations: 11.97 kB / 353.7 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.1132/0.2294, allocations: 18.59 kB / 353.7 MB, free: 86.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002069/0.2296, allocations: 222.7 kB / 353.9 MB, free: 86.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2296, allocations: 3.281 kB / 353.9 MB, free: 86.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002377/0.232, allocations: 0.863 MB / 354.8 MB, free: 86.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002686/0.2346, allocations: 1.084 MB / 355.8 MB, free: 86.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007433/0.2354, allocations: 434 kB / 356.3 MB, free: 86.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2354, allocations: 0 / 356.3 MB, free: 86.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.2356, allocations: 165.5 kB / 356.4 MB, free: 86.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.2362, allocations: 166.1 kB / 356.6 MB, free: 86.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2377, allocations: 0.856 MB / 357.4 MB, free: 85.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.208e-05/0.2378, allocations: 118.2 kB / 357.6 MB, free: 85.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.238, allocations: 174.3 kB / 357.7 MB, free: 85.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.2381, allocations: 36.44 kB / 357.8 MB, free: 85.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2381, allocations: 0 / 357.8 MB, free: 85.86 MB / 330.7 MB Notification: Performance of Templates: time 0.03018/0.2683, allocations: 35.09 MB / 392.9 MB, free: 59.15 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.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: 4.234182517975569]