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.005243/0.005243, allocations: 110.5 kB / 21.97 MB, free: 5.25 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.001523/0.001523, allocations: 205.1 kB / 25.27 MB, free: 3.238 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.245/1.245, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.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.001636/0.001636, allocations: 59.92 kB / 348 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2082, allocations: 49.15 MB / 397.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03009/0.2383, allocations: 33.04 MB / 430.2 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.2563, allocations: 15.87 MB / 446.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.2566, allocations: 7.938 kB / 446.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007265/0.2573, allocations: 262.4 kB / 446.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006628/0.258, allocations: 373.9 kB / 446.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.2728, allocations: 5.797 MB / 452.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.274, allocations: 1.005 MB / 453.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.2742, allocations: 77.25 kB / 453.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.2785, allocations: 2.197 MB / 455.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.2789, allocations: 306.8 kB / 456.1 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.279, allocations: 36 kB / 456.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006183/0.2851, allocations: 3.617 MB / 459.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2853, allocations: 103.7 kB / 459.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.2855, allocations: 223.1 kB / 460.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.2883, allocations: 2.362 MB / 462.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2883, allocations: 0 / 462.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2883, allocations: 0 / 462.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2883, allocations: 0 / 462.4 MB, free: 1.883 MB / 366.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.001346/0.2897, allocations: 0.7652 MB / 463.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2897, allocations: 15.98 kB / 463.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.733e-05/0.2897, allocations: 8.844 kB / 463.2 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.676e-05/0.2898, allocations: 66.72 kB / 463.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006536/0.2905, allocations: 92.64 kB / 463.4 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.2909, allocations: 250 kB / 463.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.2909, allocations: 21.03 kB / 463.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.291, allocations: 39.88 kB / 463.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.2917, allocations: 442.4 kB / 464.1 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2918, allocations: 0 / 464.1 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.2918, allocations: 15.94 kB / 464.1 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2918, allocations: 8 kB / 464.1 MB, free: 68 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.2924, allocations: 318.3 kB / 464.4 MB, free: 15.75 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.002713/0.2951, allocations: 2.52 MB / 467 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.2956, allocations: 238.5 kB / 467.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.2958, allocations: 100.8 kB / 467.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02849/0.3243, allocations: 8.307 MB / 475.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.3243, allocations: 34.56 kB / 475.6 MB, free: 4.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.3243, allocations: 4 kB / 475.6 MB, free: 4.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004155/0.3285, allocations: 1.159 MB / 476.8 MB, free: 3.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.3285, allocations: 55.41 kB / 476.8 MB, free: 3.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.3289, allocations: 265.8 kB / 477.1 MB, free: 2.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3289, allocations: 33.7 kB / 477.1 MB, free: 2.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.329, allocations: 204.4 kB / 477.3 MB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.3291, allocations: 103.1 kB / 477.4 MB, free: 2.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3292, allocations: 86.08 kB / 477.5 MB, free: 2.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3294, allocations: 338.8 kB / 477.8 MB, free: 2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3296, allocations: 100.8 kB / 477.9 MB, free: 1.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.3298, allocations: 222.9 kB / 478.2 MB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.3303, allocations: 358.4 kB / 478.5 MB, free: 1.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.3303, allocations: 7.938 kB / 478.5 MB, free: 1.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007413/0.3311, allocations: 434.7 kB / 478.9 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3311, allocations: 7.938 kB / 479 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3311, allocations: 4 kB / 479 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.3342, allocations: 269.8 kB / 479.2 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.3345, allocations: 79.91 kB / 479.3 MB, free: 432 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.3361, allocations: 1.874 MB / 481.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3363, allocations: 11.98 kB / 481.2 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.3363, allocations: 20 kB / 481.2 MB, free: 14.38 MB / 398.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.0001864/0.3365, allocations: 170.1 kB / 481.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.3366, allocations: 31.81 kB / 481.4 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.3378, allocations: 0.97 MB / 482.4 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.3378, allocations: 11.98 kB / 482.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.3378, allocations: 0 / 482.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.3389, allocations: 1.149 MB / 483.5 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.3407, allocations: 1.605 MB / 485.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3407, allocations: 0 / 485.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.341, allocations: 55.91 kB / 485.2 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.3425, allocations: 287.9 kB / 485.5 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3426, allocations: 15.98 kB / 485.5 MB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000563/0.3431, allocations: 0.6694 MB / 486.2 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3431, allocations: 12.08 kB / 486.2 MB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3443, allocations: 0.9768 MB / 487.1 MB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.3443, allocations: 35.73 kB / 487.2 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.3444, allocations: 15.89 kB / 487.2 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3446, allocations: 8 kB / 487.2 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.3446, allocations: 19.95 kB / 487.2 MB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.3446, allocations: 19.98 kB / 487.2 MB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.3449, allocations: 243.1 kB / 487.5 MB, free: 7.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3449, allocations: 0 / 487.5 MB, free: 7.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001275/0.3462, allocations: 0.4916 MB / 488 MB, free: 7.383 MB / 398.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.002975/0.3492, allocations: 1.934 MB / 489.9 MB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008458/0.35, allocations: 0.5108 MB / 490.4 MB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.35, allocations: 0 / 490.4 MB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.3504, allocations: 296.2 kB / 490.7 MB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3515, allocations: 192.8 kB / 490.9 MB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.3565, allocations: 3.98 MB / 494.9 MB, free: 248 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.357, allocations: 0.8167 MB / 495.7 MB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.3573, allocations: 107.2 kB / 495.8 MB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.3574, allocations: 147.4 kB / 495.9 MB, free: 15.14 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3574, allocations: 0 / 495.9 MB, free: 15.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05515/0.4126, allocations: 23.85 MB / 0.5076 GB, free: 7.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.08, allocations: 4.062 kB / 0.5076 GB, free: 7.211 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.564982510986738]