Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.00143/0.00143, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001557/0.001557, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.313/1.313, allocations: 207.6 MB / 232.5 MB, free: 3.738 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"static"}) [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.001612/0.001612, allocations: 51.92 kB / 343 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08081/0.08242, allocations: 49.13 MB / 392.2 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03444/0.1169, allocations: 32.77 MB / 424.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.1349, allocations: 15.78 MB / 440.7 MB, free: 8.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.1352, allocations: 7.938 kB / 440.7 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007164/0.1359, allocations: 266.4 kB / 441 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006858/0.1366, allocations: 365.9 kB / 441.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01382/0.1504, allocations: 5.796 MB / 447.1 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.1519, allocations: 0.9815 MB / 448.1 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1521, allocations: 73.06 kB / 448.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/0.157, allocations: 2.204 MB / 450.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.1574, allocations: 310.8 kB / 450.7 MB, free: 14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.1574, allocations: 40 kB / 450.7 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006422/0.1639, allocations: 3.609 MB / 454.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.164, allocations: 107.6 kB / 454.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.1643, allocations: 215.2 kB / 454.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00389/0.1682, allocations: 2.362 MB / 457 MB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1682, allocations: 4 kB / 457 MB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1682, allocations: 0 / 457 MB, free: 7.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1682, allocations: 4 kB / 457 MB, free: 7.652 MB / 382.1 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.001501/0.1697, allocations: 0.8289 MB / 457.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1698, allocations: 12.03 kB / 457.9 MB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.447e-05/0.1698, allocations: 8.844 kB / 457.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.301e-05/0.1699, allocations: 70.72 kB / 458 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006857/0.1705, allocations: 100.6 kB / 458.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.171, allocations: 303.8 kB / 458.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1711, allocations: 21.03 kB / 458.4 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.1711, allocations: 35.94 kB / 458.4 MB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.1719, allocations: 446.1 kB / 458.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.172, allocations: 0 / 458.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.172, allocations: 16 kB / 458.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.172, allocations: 12 kB / 458.9 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.1726, allocations: 321.8 kB / 459.2 MB, free: 5.363 MB / 382.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.00284/0.1755, allocations: 2.63 MB / 461.8 MB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.176, allocations: 242.6 kB / 462 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1762, allocations: 96.83 kB / 462.1 MB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1747/0.3508, allocations: 15.54 MB / 477.7 MB, free: 63.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3509, allocations: 42.06 kB / 477.7 MB, free: 63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.3509, allocations: 0 / 477.7 MB, free: 63 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004042/0.3549, allocations: 1.299 MB / 479 MB, free: 62.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.3549, allocations: 55.38 kB / 479.1 MB, free: 62.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.3552, allocations: 269.6 kB / 479.3 MB, free: 62.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3552, allocations: 31.83 kB / 479.4 MB, free: 62.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.3553, allocations: 205.2 kB / 479.6 MB, free: 61.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.3553, allocations: 114.1 kB / 479.7 MB, free: 61.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.3554, allocations: 78.72 kB / 479.8 MB, free: 61.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.3555, allocations: 338.8 kB / 480.1 MB, free: 61.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3556, allocations: 96.22 kB / 480.2 MB, free: 61.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.3558, allocations: 220 kB / 480.4 MB, free: 61.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.3561, allocations: 357.4 kB / 480.7 MB, free: 60.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3561, allocations: 2.406 kB / 480.8 MB, free: 60.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006202/0.3568, allocations: 438.6 kB / 481.2 MB, free: 60.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3568, allocations: 11.28 kB / 481.2 MB, free: 60.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3568, allocations: 3.625 kB / 481.2 MB, free: 60.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003102/0.3599, allocations: 266.3 kB / 481.5 MB, free: 60.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.3602, allocations: 81.72 kB / 481.5 MB, free: 60.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009969/0.3612, allocations: 1.981 MB / 483.5 MB, free: 58.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.3613, allocations: 8.125 kB / 483.5 MB, free: 58.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.3614, allocations: 26.97 kB / 483.5 MB, free: 58.44 MB / 382.1 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.3615, allocations: 167.3 kB / 483.7 MB, free: 58.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.3616, allocations: 31.56 kB / 483.7 MB, free: 58.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000788/0.3623, allocations: 0.9383 MB / 484.7 MB, free: 57.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3624, allocations: 14.36 kB / 484.7 MB, free: 57.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.3624, allocations: 0 / 484.7 MB, free: 57.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006265/0.363, allocations: 1.13 MB / 485.8 MB, free: 56.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.3642, allocations: 1.586 MB / 487.4 MB, free: 55.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3642, allocations: 0 / 487.4 MB, free: 55.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.3644, allocations: 56.81 kB / 487.5 MB, free: 55.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.3659, allocations: 287.1 kB / 487.7 MB, free: 55.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3659, allocations: 7.688 kB / 487.8 MB, free: 55.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003307/0.3662, allocations: 0.6691 MB / 488.4 MB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3662, allocations: 0 / 488.4 MB, free: 54.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007689/0.367, allocations: 0.9538 MB / 489.4 MB, free: 53.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.367, allocations: 112.6 kB / 489.5 MB, free: 53.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3671, allocations: 15.19 kB / 489.5 MB, free: 53.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3673, allocations: 8.125 kB / 489.5 MB, free: 53.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.3673, allocations: 23.97 kB / 489.5 MB, free: 53.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3673, allocations: 11.98 kB / 489.5 MB, free: 53.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3675, allocations: 239.1 kB / 489.8 MB, free: 53.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3675, allocations: 0 / 489.8 MB, free: 53.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001117/0.3686, allocations: 0.4941 MB / 490.3 MB, free: 53.08 MB / 382.1 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.T) * 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 (30): * Single equations (assignments): 27 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00232/0.3709, allocations: 1.92 MB / 492.2 MB, free: 51.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.3716, allocations: 0.5092 MB / 492.7 MB, free: 50.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3716, allocations: 4 kB / 492.7 MB, free: 50.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.3719, allocations: 276.4 kB / 493 MB, free: 50.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.3728, allocations: 189.5 kB / 493.2 MB, free: 50.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.3764, allocations: 3.965 MB / 497.1 MB, free: 46.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.3766, allocations: 0.8244 MB / 498 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000236/0.3768, allocations: 117.6 kB / 498.1 MB, free: 45.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3769, allocations: 143.4 kB / 498.2 MB, free: 44.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3769, allocations: 4 kB / 498.2 MB, free: 44.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04066/0.4176, allocations: 23.37 MB / 0.5094 GB, free: 21.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.34, allocations: 4 kB / 0.5094 GB, free: 21.53 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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: 14.88795151404338]