Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.0008737/0.0008737, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.007217/0.007217, allocations: 165.9 kB / 24.7 MB, free: 8.887 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.8635/0.8635, allocations: 158.6 MB / 186.5 MB, free: 3.035 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.502e-05, allocations: 6.281 kB / 298.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.139/0.139, allocations: 22.32 MB / 320.8 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1413, allocations: 2.323 MB / 323.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1414, allocations: 7.875 kB / 323.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.1418, allocations: 156.4 kB / 323.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000854/0.1427, allocations: 356 kB / 323.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.1449, allocations: 1.002 MB / 324.7 MB, free: 140 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.1461, allocations: 0.9044 MB / 325.6 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.1463, allocations: 71.2 kB / 325.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.1503, allocations: 2.919 MB / 328.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.1507, allocations: 249.1 kB / 328.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.1508, allocations: 29.47 kB / 328.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.1513, allocations: 250.6 kB / 329.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.1514, allocations: 103.2 kB / 329.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.1516, allocations: 147.5 kB / 329.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000728/0.1523, allocations: 0.6046 MB / 329.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1523, allocations: 4 kB / 329.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1523, allocations: 0 / 329.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1523, allocations: 1.469 kB / 329.9 MB, free: 13.34 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007681/0.1531, allocations: 0.5601 MB / 330.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1531, allocations: 13.61 kB / 330.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.741e-05/0.1532, allocations: 60.58 kB / 330.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.1535, allocations: 48.95 kB / 330.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.1539, allocations: 246.1 kB / 330.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.1539, allocations: 19.25 kB / 330.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/0.154, allocations: 28.61 kB / 330.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.1545, allocations: 0.5638 MB / 331.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1545, allocations: 384 / 331.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.1545, allocations: 17.09 kB / 331.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1545, allocations: 5.656 kB / 331.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.1548, allocations: 187 kB / 331.7 MB, free: 11.89 MB / 298.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.001414/0.1562, allocations: 1.439 MB / 333.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1565, allocations: 171 kB / 333.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.1566, allocations: 85.64 kB / 333.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.1566, allocations: 19.61 kB / 333.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1566, allocations: 38 kB / 333.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.1566, allocations: 0 / 333.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001789/0.1584, allocations: 0.8759 MB / 334.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1585, allocations: 54.84 kB / 334.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1587, allocations: 270.9 kB / 334.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1587, allocations: 29.7 kB / 334.6 MB, free: 9.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.1588, allocations: 191.9 kB / 334.8 MB, free: 9.398 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.1589, allocations: 99.19 kB / 334.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.1589, allocations: 73.98 kB / 335 MB, free: 9.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.159, allocations: 341.4 kB / 335.3 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1592, allocations: 85.38 kB / 335.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1593, allocations: 170.3 kB / 335.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.1596, allocations: 279.7 kB / 335.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1596, allocations: 1.531 kB / 335.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005059/0.1601, allocations: 385.8 kB / 336.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1601, allocations: 6.875 kB / 336.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1601, allocations: 6.734 kB / 336.2 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.1604, allocations: 91.66 kB / 336.3 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1606, allocations: 68.16 kB / 336.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004176/0.161, allocations: 0.6549 MB / 337 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1611, allocations: 8.406 kB / 337 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.1611, allocations: 23.12 kB / 337.1 MB, free: 7.664 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.1613, allocations: 158.2 kB / 337.2 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.1613, allocations: 30.92 kB / 337.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.1617, allocations: 372.4 kB / 337.6 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1618, allocations: 4 kB / 337.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1618, allocations: 0 / 337.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003515/0.1621, allocations: 0.5513 MB / 338.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.1628, allocations: 0.6691 MB / 338.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1628, allocations: 0 / 338.8 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/0.1629, allocations: 39.91 kB / 338.9 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002737/0.1632, allocations: 100.7 kB / 339 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1632, allocations: 7.984 kB / 339 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003357/0.1635, allocations: 0.6383 MB / 339.6 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1635, allocations: 0 / 339.6 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.1641, allocations: 489.9 kB / 340.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.1641, allocations: 31.77 kB / 340.1 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1641, allocations: 8 kB / 340.1 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1643, allocations: 11.94 kB / 340.2 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.1643, allocations: 15.91 kB / 340.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.1643, allocations: 19.98 kB / 340.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1644, allocations: 193.2 kB / 340.4 MB, free: 4.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1644, allocations: 4.125 kB / 340.4 MB, free: 4.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.1648, allocations: 119.9 kB / 340.5 MB, free: 4.074 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008534/0.1656, allocations: 1.05 MB / 341.5 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.166, allocations: 232.5 kB / 341.8 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.166, allocations: 4.062 kB / 341.8 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1662, allocations: 115.6 kB / 341.9 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.1668, allocations: 173.4 kB / 342.1 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.1698, allocations: 3.052 MB / 345.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1699, allocations: 159.8 kB / 345.3 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000237/0.1702, allocations: 75.16 kB / 345.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1703, allocations: 96.47 kB / 345.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.1703, allocations: 0 / 345.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.1991, allocations: 11.28 MB / 356.7 MB, free: 3.586 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.119, allocations: 4.047 kB / 356.7 MB, free: 3.582 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_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_Incompressible_Glycol47.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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: 9.827554841525853]