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.0009908/0.0009908, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001029/0.001029, allocations: 169.9 kB / 25.33 MB, free: 8.723 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.9622/0.9622, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.353e-06/1.353e-06, allocations: 0 / 251.1 MB, free: 7.457 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.096e-05, allocations: 2.312 kB / 251.1 MB, free: 7.453 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01291/0.01293, allocations: 14.68 MB / 265.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.02295, allocations: 11.26 MB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.02316, allocations: 7.938 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.02359, allocations: 127.2 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.02413, allocations: 381.5 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009959/0.03408, allocations: 5.34 MB / 282.9 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009523/0.03504, allocations: 1.055 MB / 283.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.03521, allocations: 77.56 kB / 284 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.03835, allocations: 2.314 MB / 286.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.03895, allocations: 271.2 kB / 286.6 MB, free: 3.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.039, allocations: 40 kB / 286.6 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007192/0.04619, allocations: 5.74 MB / 292.4 MB, free: 14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.04631, allocations: 123.6 kB / 292.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.04647, allocations: 175.7 kB / 292.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006613/0.05309, allocations: 4.443 MB / 297.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.05309, allocations: 0 / 297.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.05309, allocations: 0 / 297.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.0531, allocations: 0 / 297.1 MB, free: 9.258 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002111/0.05521, allocations: 1.016 MB / 298.1 MB, free: 8.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.05525, allocations: 11.98 kB / 298.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007478/0.056, allocations: 219.8 kB / 298.4 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.05632, allocations: 264 kB / 298.6 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.05634, allocations: 29.03 kB / 298.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.0564, allocations: 44.33 kB / 298.7 MB, free: 7.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.05715, allocations: 0.6795 MB / 299.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.05716, allocations: 192 / 299.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.0572, allocations: 19.94 kB / 299.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.05721, allocations: 8 kB / 299.4 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.05754, allocations: 227.6 kB / 299.6 MB, free: 6.59 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.001744/0.05929, allocations: 2.099 MB / 301.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.05965, allocations: 207.3 kB / 301.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.05976, allocations: 79.58 kB / 302 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0288/0.08856, allocations: 16.83 MB / 318.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.08859, allocations: 37.39 kB / 318.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.212e-06/0.08859, allocations: 0 / 318.9 MB, free: 3.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001864/0.09046, allocations: 0.915 MB / 319.8 MB, free: 2.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.09049, allocations: 55.41 kB / 319.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.09067, allocations: 281.4 kB / 320.1 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.09069, allocations: 33.64 kB / 320.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.09079, allocations: 239.1 kB / 320.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.09085, allocations: 119 kB / 320.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.09093, allocations: 87.8 kB / 320.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.09106, allocations: 0.5079 MB / 321.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.09114, allocations: 56.95 kB / 321.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.0913, allocations: 223.6 kB / 321.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.09157, allocations: 306.4 kB / 321.7 MB, free: 172 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.09158, allocations: 0 / 321.7 MB, free: 172 kB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004656/0.09204, allocations: 360.4 kB / 322 MB, free: 15.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.09206, allocations: 8 kB / 322 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.09207, allocations: 4 kB / 322 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.09225, allocations: 51.84 kB / 322.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.09248, allocations: 91.89 kB / 322.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.09411, allocations: 3.433 MB / 325.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.09422, allocations: 12.25 kB / 325.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.09424, allocations: 20 kB / 325.6 MB, free: 11.99 MB / 314.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.0001239/0.09436, allocations: 184.4 kB / 325.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.09442, allocations: 35.86 kB / 325.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/0.09496, allocations: 0.5722 MB / 326.4 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.09497, allocations: 11.98 kB / 326.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.09498, allocations: 0 / 326.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004545/0.09543, allocations: 0.7408 MB / 327.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/0.09631, allocations: 1.006 MB / 328.2 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.09632, allocations: 3.984 kB / 328.2 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.09644, allocations: 51.92 kB / 328.2 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.09662, allocations: 55.58 kB / 328.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.09664, allocations: 8 kB / 328.3 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005814/0.09722, allocations: 0.7999 MB / 329.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.09722, allocations: 0 / 329.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.09774, allocations: 0.6043 MB / 329.7 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.09777, allocations: 39.62 kB / 329.7 MB, free: 7.656 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.0978, allocations: 12 kB / 329.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.09792, allocations: 15.98 kB / 329.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.09795, allocations: 15.97 kB / 329.8 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.09797, allocations: 15.98 kB / 329.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.0981, allocations: 225.1 kB / 330 MB, free: 7.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0981, allocations: 3.938 kB / 330 MB, free: 7.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001671/0.09977, allocations: 0.8658 MB / 330.9 MB, free: 6.508 MB / 314.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.002519/0.1023, allocations: 1.071 MB / 331.9 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005748/0.1029, allocations: 442.9 kB / 332.4 MB, free: 4.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1029, allocations: 4 kB / 332.4 MB, free: 4.961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.1031, allocations: 150.5 kB / 332.5 MB, free: 4.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.1036, allocations: 176.5 kB / 332.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.1049, allocations: 0.858 MB / 333.6 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.558e-05/0.105, allocations: 118.6 kB / 333.7 MB, free: 3.613 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.1052, allocations: 174.4 kB / 333.8 MB, free: 3.449 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1053, allocations: 36.48 kB / 333.9 MB, free: 3.414 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1053, allocations: 0 / 333.9 MB, free: 3.414 MB / 314.7 MB Notification: Performance of Templates: time 0.1444/0.2497, allocations: 34.87 MB / 368.7 MB, free: 79.89 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.524364823009819]