Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009281/0.0009281, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009803/0.0009803, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.905/0.905, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2434/0.2434, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.731e-05, allocations: 2.281 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2028/0.2028, allocations: 16.22 MB / 455.8 MB, free: 37.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005431/0.2082, allocations: 6.472 MB / 462.3 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007843/0.209, allocations: 28.69 kB / 462.3 MB, free: 33.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008728/0.2099, allocations: 378.5 kB / 462.7 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.2113, allocations: 0.7192 MB / 463.4 MB, free: 32.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.2141, allocations: 1.389 MB / 464.8 MB, free: 31.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002492/0.2166, allocations: 2.516 MB / 467.3 MB, free: 30.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008915/0.2174, allocations: 0.5673 MB / 467.9 MB, free: 30.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.2193, allocations: 1.328 MB / 469.2 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008274/0.2201, allocations: 0.7297 MB / 469.9 MB, free: 29.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.2203, allocations: 84.56 kB / 470 MB, free: 29.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.2215, allocations: 492.9 kB / 470.5 MB, free: 29.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.2218, allocations: 397.4 kB / 470.9 MB, free: 29.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.2222, allocations: 390.9 kB / 471.2 MB, free: 29.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.224, allocations: 1.639 MB / 472.9 MB, free: 28.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.224, allocations: 3.188 kB / 472.9 MB, free: 28.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.224, allocations: 0 / 472.9 MB, free: 28.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.2241, allocations: 0 / 472.9 MB, free: 28.53 MB / 410.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.00197/0.226, allocations: 1.219 MB / 474.1 MB, free: 27.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.2261, allocations: 9.75 kB / 474.1 MB, free: 27.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.2262, allocations: 143.4 kB / 474.3 MB, free: 27.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.2265, allocations: 122.7 kB / 474.4 MB, free: 27.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.2273, allocations: 0.5551 MB / 474.9 MB, free: 27.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.2275, allocations: 406.9 kB / 475.3 MB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/0.2275, allocations: 75.66 kB / 475.4 MB, free: 26.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.2289, allocations: 1.701 MB / 477.1 MB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.2289, allocations: 11.06 kB / 477.1 MB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.229, allocations: 51.53 kB / 477.2 MB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.229, allocations: 32.62 kB / 477.2 MB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.2301, allocations: 0.9645 MB / 478.2 MB, free: 25.28 MB / 410.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.003878/0.234, allocations: 5.911 MB / 484.1 MB, free: 20.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.2344, allocations: 294.5 kB / 484.4 MB, free: 20.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.2345, allocations: 156.2 kB / 484.5 MB, free: 20.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.2356, allocations: 0.7998 MB / 485.3 MB, free: 19.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2356, allocations: 41.23 kB / 485.3 MB, free: 19.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.985e-06/0.2357, allocations: 3.094 kB / 485.4 MB, free: 19.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001517/0.2372, allocations: 1.04 MB / 486.4 MB, free: 19.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.2372, allocations: 54.28 kB / 486.4 MB, free: 19.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.2379, allocations: 0.9205 MB / 487.4 MB, free: 18.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2379, allocations: 32.89 kB / 487.4 MB, free: 18.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.2381, allocations: 0.587 MB / 488 MB, free: 18.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.2382, allocations: 138.5 kB / 488.1 MB, free: 18.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.2383, allocations: 232.7 kB / 488.3 MB, free: 18.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2384, allocations: 398 kB / 488.7 MB, free: 17.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.2387, allocations: 251.5 kB / 489 MB, free: 17.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.2393, allocations: 0.9619 MB / 489.9 MB, free: 16.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009889/0.2402, allocations: 1.324 MB / 491.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.2403, allocations: 11.44 kB / 491.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001349/0.2416, allocations: 1.22 MB / 492.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.2416, allocations: 15.94 kB / 492.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.2417, allocations: 26.03 kB / 492.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.173e-05/0.2417, allocations: 33.91 kB / 492.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.2422, allocations: 279.1 kB / 492.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.523e-05/0.2423, allocations: 50.91 kB / 492.9 MB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.2428, allocations: 51.25 kB / 492.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/0.2429, allocations: 80.5 kB / 493 MB, free: 14.78 MB / 410.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.0003543/0.2432, allocations: 341.1 kB / 493.4 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.2434, allocations: 90.53 kB / 493.4 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/0.244, allocations: 482.2 kB / 493.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.244, allocations: 6.719 kB / 493.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.244, allocations: 0 / 493.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.244, allocations: 1 kB / 493.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.2451, allocations: 1.015 MB / 494.9 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2452, allocations: 1.375 kB / 494.9 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.2453, allocations: 69.72 kB / 495 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.2453, allocations: 3.406 kB / 495 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2454, allocations: 9.219 kB / 495 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.2454, allocations: 9.453 kB / 495 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2454, allocations: 2 kB / 495 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.246, allocations: 0.6556 MB / 495.7 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.2462, allocations: 121.2 kB / 495.8 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.2463, allocations: 9.625 kB / 495.8 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2465, allocations: 22.52 kB / 495.8 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.2465, allocations: 23.97 kB / 495.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.2466, allocations: 25.59 kB / 495.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005814/0.2472, allocations: 0.593 MB / 496.5 MB, free: 12.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2472, allocations: 1 kB / 496.5 MB, free: 12.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001025/0.2482, allocations: 309.7 kB / 496.8 MB, free: 12.9 MB / 410.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.001162/0.2493, allocations: 1.41 MB / 498.2 MB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000847/0.2502, allocations: 0.6194 MB / 498.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2502, allocations: 1.125 kB / 498.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.2504, allocations: 141.2 kB / 499 MB, free: 11.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.2517, allocations: 418.4 kB / 499.4 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009049/0.2607, allocations: 7.914 MB / 0.4954 GB, free: 6.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.2612, allocations: 406.5 kB / 0.4958 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009186/0.2621, allocations: 321.5 kB / 0.4961 GB, free: 6.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.2624, allocations: 300.5 kB / 0.4964 GB, free: 5.934 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/0.2624, allocations: 4 kB / 0.4964 GB, free: 5.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04897/0.3114, allocations: 26.69 MB / 0.5224 GB, free: 3.734 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.018, allocations: 3.75 kB / 0.5224 GB, free: 3.734 MB / 426.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.158426800742745]