Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.0009423/0.0009423, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0009089/0.0009089, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.819/0.819, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1275/0.1275, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 406.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.627e-05, allocations: 2.281 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01139/0.01141, allocations: 16.08 MB / 422.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005414/0.01682, allocations: 6.466 MB / 429.4 MB, free: 6.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004408/0.01726, allocations: 31.75 kB / 429.4 MB, free: 6.844 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.01804, allocations: 377.4 kB / 429.8 MB, free: 6.473 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.01912, allocations: 0.7104 MB / 430.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.02152, allocations: 1.382 MB / 431.9 MB, free: 4.371 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.02358, allocations: 2.52 MB / 434.4 MB, free: 1.844 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007567/0.02434, allocations: 0.5728 MB / 435 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1673/0.1917, allocations: 1.325 MB / 436.3 MB, free: 16.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.1931, allocations: 0.7207 MB / 437 MB, free: 16.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.1934, allocations: 87.47 kB / 437.1 MB, free: 16.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.1945, allocations: 485.5 kB / 437.6 MB, free: 16.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003533/0.1949, allocations: 396.2 kB / 438 MB, free: 16.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.1954, allocations: 386.3 kB / 438.4 MB, free: 16.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.1972, allocations: 1.598 MB / 440 MB, free: 16.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1972, allocations: 3.312 kB / 440 MB, free: 16.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1972, allocations: 0 / 440 MB, free: 16.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.1972, allocations: 1.062 kB / 440 MB, free: 16.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002085/0.1993, allocations: 1.229 MB / 441.2 MB, free: 16.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1994, allocations: 9.75 kB / 441.2 MB, free: 16.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.1995, allocations: 140.4 kB / 441.3 MB, free: 16.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.1999, allocations: 124.6 kB / 441.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009021/0.2008, allocations: 0.5536 MB / 442 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.201, allocations: 412.2 kB / 442.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.2011, allocations: 76.48 kB / 442.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.2027, allocations: 1.759 MB / 444.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.2027, allocations: 7.219 kB / 444.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.2028, allocations: 41.22 kB / 444.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.2028, allocations: 43.81 kB / 444.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.2041, allocations: 0.9604 MB / 445.3 MB, free: 14.44 MB / 362.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.0045/0.2086, allocations: 5.923 MB / 451.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.209, allocations: 296 kB / 451.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.2092, allocations: 155.2 kB / 451.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.2104, allocations: 0.7953 MB / 452.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.2104, allocations: 44.83 kB / 452.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.805e-06/0.2104, allocations: 0 / 452.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001745/0.2122, allocations: 1.047 MB / 453.5 MB, free: 9.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2122, allocations: 56.5 kB / 453.6 MB, free: 9.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.213, allocations: 0.9178 MB / 454.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2131, allocations: 33.23 kB / 454.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.2133, allocations: 0.5817 MB / 455.1 MB, free: 9.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.2134, allocations: 141.8 kB / 455.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.2137, allocations: 238.7 kB / 455.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.2137, allocations: 399 kB / 455.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.2141, allocations: 246.4 kB / 456.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.2146, allocations: 0.9623 MB / 457.1 MB, free: 7.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/0.2155, allocations: 1.324 MB / 458.4 MB, free: 6.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.2155, allocations: 13.41 kB / 458.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001354/0.2169, allocations: 1.21 MB / 459.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.2169, allocations: 21.03 kB / 459.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.2169, allocations: 24.75 kB / 459.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/0.217, allocations: 38.38 kB / 459.7 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.2175, allocations: 273.3 kB / 460 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.259e-05/0.2176, allocations: 54.39 kB / 460 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.218, allocations: 53.73 kB / 460.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.2181, allocations: 78.02 kB / 460.2 MB, free: 6.422 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.2184, allocations: 341.3 kB / 460.5 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.2185, allocations: 94.38 kB / 460.6 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/0.2191, allocations: 479.9 kB / 461.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.2192, allocations: 4.125 kB / 461.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2192, allocations: 0 / 461.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2192, allocations: 7.594 kB / 461.1 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009982/0.2202, allocations: 1.017 MB / 462.1 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2202, allocations: 4.062 kB / 462.1 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.2203, allocations: 67.38 kB / 462.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2203, allocations: 3.406 kB / 462.2 MB, free: 5.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2204, allocations: 13.14 kB / 462.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2204, allocations: 6.844 kB / 462.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2204, allocations: 5.219 kB / 462.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.2209, allocations: 0.6519 MB / 462.8 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.2211, allocations: 124.8 kB / 463 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.009e-05/0.2211, allocations: 13.81 kB / 463 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2214, allocations: 24.03 kB / 463 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.2214, allocations: 19.59 kB / 463 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.2214, allocations: 26.69 kB / 463.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004545/0.2219, allocations: 0.5959 MB / 463.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2219, allocations: 0 / 463.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000747/0.2226, allocations: 301 kB / 463.9 MB, free: 4.605 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.2237, allocations: 1.444 MB / 465.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005719/0.2243, allocations: 0.6144 MB / 466 MB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2243, allocations: 0.5 kB / 466 MB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.2244, allocations: 141.6 kB / 466.1 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/0.2254, allocations: 420.6 kB / 466.5 MB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.2312, allocations: 7.943 MB / 474.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2315, allocations: 397.3 kB / 474.9 MB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005244/0.232, allocations: 318.8 kB / 475.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.2322, allocations: 304.6 kB / 475.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2322, allocations: 0 / 475.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.2675, allocations: 26.78 MB / 0.4905 GB, free: 3.195 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.132, allocations: 19.98 kB / 0.4905 GB, free: 3.176 MB / 394.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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: 10.105651251040399]