Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.001354/0.001354, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.001372/0.001372, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.476/1.476, allocations: 207.6 MB / 231.8 MB, free: 3.934 MB / 174.1 MB " [Timeout remaining time 178] 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.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",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.001761/0.001761, allocations: 51.94 kB / 342.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1174, allocations: 49.13 MB / 391.5 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.02485/0.1423, allocations: 15.95 MB / 407.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.146, allocations: 1.912 MB / 409.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/0.1464, allocations: 11.94 kB / 409.3 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007571/0.1472, allocations: 174.9 kB / 409.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008133/0.148, allocations: 306.3 kB / 409.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008292/0.1488, allocations: 295.4 kB / 410.1 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.1501, allocations: 0.8368 MB / 410.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.1503, allocations: 80.83 kB / 411 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.1518, allocations: 0.5214 MB / 411.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.1524, allocations: 286.8 kB / 411.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.031e-05/0.1524, allocations: 35.98 kB / 411.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.1526, allocations: 39.98 kB / 411.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.1528, allocations: 91.67 kB / 412 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.1531, allocations: 183.3 kB / 412.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.1537, allocations: 442.3 kB / 412.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1537, allocations: 4 kB / 412.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1537, allocations: 4 kB / 412.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.1538, allocations: 0 / 412.6 MB, free: 3.562 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001308/0.1551, allocations: 0.5845 MB / 413.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1551, allocations: 8.031 kB / 413.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.938e-05/0.1552, allocations: 62.73 kB / 413.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.1555, allocations: 44.73 kB / 413.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.156, allocations: 283.9 kB / 413.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.156, allocations: 20.94 kB / 413.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.7e-05/0.1561, allocations: 24.38 kB / 413.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.1566, allocations: 311.6 kB / 413.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1566, allocations: 0 / 413.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.1566, allocations: 12 kB / 413.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1567, allocations: 4 kB / 413.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.157, allocations: 197.5 kB / 414.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.159, allocations: 1.44 MB / 415.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.1594, allocations: 170.6 kB / 415.7 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1595, allocations: 88.77 kB / 415.8 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.1596, allocations: 8 kB / 415.8 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1596, allocations: 30.56 kB / 415.8 MB, free: 40 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.1596, allocations: 0 / 415.8 MB, free: 40 kB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002698/0.1623, allocations: 1.004 MB / 416.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.1623, allocations: 55.41 kB / 416.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.1626, allocations: 258.6 kB / 417.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.1627, allocations: 29.7 kB / 417.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1629, allocations: 180.5 kB / 417.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.001e-05/0.163, allocations: 103.1 kB / 417.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.1631, allocations: 65.7 kB / 417.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1632, allocations: 342.8 kB / 417.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.1636, allocations: 87.97 kB / 417.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.1639, allocations: 178.9 kB / 418.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005149/0.1644, allocations: 283 kB / 418.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1644, allocations: 3.938 kB / 418.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007363/0.1651, allocations: 390.8 kB / 418.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1651, allocations: 7.906 kB / 418.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1651, allocations: 4 kB / 418.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.1654, allocations: 66.05 kB / 418.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.1657, allocations: 63.91 kB / 418.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.1691, allocations: 2.882 MB / 421.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.1693, allocations: 15.88 kB / 421.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.1693, allocations: 12 kB / 421.8 MB, free: 9.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.1695, allocations: 154 kB / 422 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.1696, allocations: 31.81 kB / 422 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.1697, allocations: 38.17 kB / 422 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1697, allocations: 4 kB / 422.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1697, allocations: 0 / 422.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006934/0.1704, allocations: 0.559 MB / 422.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.1716, allocations: 0.7152 MB / 423.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1716, allocations: 0 / 423.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.1718, allocations: 47.92 kB / 423.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/0.172, allocations: 52.78 kB / 423.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.172, allocations: 4 kB / 423.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.1736, allocations: 1.496 MB / 424.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1736, allocations: 0 / 424.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.1746, allocations: 470.4 kB / 425.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.1746, allocations: 97.14 kB / 425.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.1747, allocations: 8 kB / 425.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.1749, allocations: 12.11 kB / 425.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.1749, allocations: 23.91 kB / 425.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.175, allocations: 15.92 kB / 425.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003122/0.1753, allocations: 186 kB / 425.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1753, allocations: 0 / 425.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.1757, allocations: 84 kB / 425.8 MB, free: 5.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.1768, allocations: 0.9989 MB / 426.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008472/0.1776, allocations: 470.5 kB / 427.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1776, allocations: 0 / 427.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.178, allocations: 230.5 kB / 427.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.1789, allocations: 149.6 kB / 427.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004706/0.1836, allocations: 3.154 MB / 430.8 MB, free: 0 / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.184, allocations: 0.7606 MB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002295/0.1843, allocations: 54.94 kB / 431.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.1844, allocations: 83.41 kB / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1844, allocations: 7.938 kB / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.2269, allocations: 8.817 MB / 440.5 MB, free: 6.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.43, allocations: 15.72 kB / 440.5 MB, free: 6.18 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.017541770997923]