Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001496/0.001496, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9118/0.9118, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.485e-05, allocations: 2.281 kB / 442.2 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2017/0.2017, allocations: 16.21 MB / 458.4 MB, free: 34.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.207, allocations: 6.47 MB / 464.8 MB, free: 30.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007136/0.2077, allocations: 35.47 kB / 464.9 MB, free: 30.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008736/0.2086, allocations: 373.8 kB / 465.2 MB, free: 29.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.2099, allocations: 0.7181 MB / 466 MB, free: 29.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002403/0.2123, allocations: 1.382 MB / 467.3 MB, free: 28.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001961/0.2142, allocations: 2.511 MB / 469.8 MB, free: 27.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006548/0.2149, allocations: 0.5697 MB / 470.4 MB, free: 27.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.2164, allocations: 1.332 MB / 471.7 MB, free: 26.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000723/0.2171, allocations: 0.7269 MB / 472.5 MB, free: 26.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.2172, allocations: 84.66 kB / 472.6 MB, free: 26.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.2181, allocations: 499.7 kB / 473 MB, free: 26.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.2183, allocations: 402 kB / 473.4 MB, free: 26.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.2186, allocations: 384.8 kB / 473.8 MB, free: 26.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.2201, allocations: 1.644 MB / 475.5 MB, free: 25.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2201, allocations: 0 / 475.5 MB, free: 25.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2201, allocations: 0 / 475.5 MB, free: 25.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.2201, allocations: 0 / 475.5 MB, free: 25.52 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.001456/0.2216, allocations: 1.222 MB / 476.7 MB, free: 24.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.2216, allocations: 11.66 kB / 476.7 MB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.2218, allocations: 140.8 kB / 476.8 MB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.222, allocations: 121.5 kB / 476.9 MB, free: 24.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.2226, allocations: 0.5545 MB / 477.5 MB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.2228, allocations: 408.3 kB / 477.9 MB, free: 23.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.2228, allocations: 77.34 kB / 478 MB, free: 23.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.224, allocations: 1.702 MB / 479.7 MB, free: 22.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.224, allocations: 15.02 kB / 479.7 MB, free: 22.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/0.2241, allocations: 40.12 kB / 479.7 MB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.2241, allocations: 40.02 kB / 479.8 MB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008898/0.225, allocations: 0.9605 MB / 480.7 MB, free: 22.27 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.003281/0.2283, allocations: 5.908 MB / 486.6 MB, free: 17.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.2286, allocations: 293.2 kB / 486.9 MB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.2288, allocations: 158.5 kB / 487.1 MB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009443/0.2297, allocations: 0.8015 MB / 487.9 MB, free: 16.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2297, allocations: 41.58 kB / 487.9 MB, free: 16.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.2297, allocations: 1.312 kB / 487.9 MB, free: 16.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001378/0.2311, allocations: 1.039 MB / 489 MB, free: 16.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.2311, allocations: 57.41 kB / 489 MB, free: 16.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.2318, allocations: 0.9207 MB / 489.9 MB, free: 15.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.2318, allocations: 36.55 kB / 490 MB, free: 15.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.232, allocations: 0.5795 MB / 490.6 MB, free: 15.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.232, allocations: 137.1 kB / 490.7 MB, free: 15.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.2322, allocations: 244.5 kB / 490.9 MB, free: 15.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.2323, allocations: 395.4 kB / 491.3 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.2326, allocations: 245.4 kB / 491.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.2331, allocations: 0.9628 MB / 492.5 MB, free: 13.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.234, allocations: 1.325 MB / 493.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.234, allocations: 6.812 kB / 493.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001293/0.2353, allocations: 1.211 MB / 495.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2353, allocations: 20.81 kB / 495.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.2353, allocations: 28.61 kB / 495.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.575e-05/0.2354, allocations: 34.44 kB / 495.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.2359, allocations: 279 kB / 495.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.83e-05/0.2359, allocations: 49.11 kB / 495.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.2364, allocations: 49.75 kB / 495.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.2365, allocations: 82.69 kB / 495.6 MB, free: 11.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.0003459/0.2369, allocations: 332.6 kB / 495.9 MB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.237, allocations: 90.62 kB / 496 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005947/0.2376, allocations: 496 kB / 496.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.2376, allocations: 3.406 kB / 496.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2376, allocations: 1.125 kB / 496.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2376, allocations: 4 kB / 496.5 MB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.2387, allocations: 1.02 MB / 497.5 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2387, allocations: 1.406 kB / 497.5 MB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2389, allocations: 68.66 kB / 497.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.2389, allocations: 2.531 kB / 497.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.239, allocations: 16.11 kB / 497.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.239, allocations: 2.438 kB / 497.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.239, allocations: 6.562 kB / 497.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.2396, allocations: 0.6478 MB / 498.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.2398, allocations: 123.2 kB / 498.4 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.2399, allocations: 18.3 kB / 498.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2401, allocations: 12.73 kB / 498.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.2401, allocations: 25.67 kB / 498.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.2401, allocations: 23.41 kB / 498.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006615/0.2408, allocations: 0.5957 MB / 499.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2408, allocations: 0 / 499.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001025/0.2418, allocations: 302.9 kB / 499.3 MB, free: 9.891 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.001259/0.2431, allocations: 1.42 MB / 0.489 GB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009056/0.244, allocations: 0.6154 MB / 0.4896 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.244, allocations: 1.469 kB / 0.4896 GB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.2442, allocations: 139.6 kB / 0.4898 GB, free: 8.648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.2454, allocations: 420.7 kB / 0.4902 GB, free: 8.547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008396/0.2538, allocations: 7.926 MB / 0.4979 GB, free: 3.316 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.2542, allocations: 402.8 kB / 0.4983 GB, free: 3.184 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009225/0.2551, allocations: 316.6 kB / 0.4986 GB, free: 3.133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.2554, allocations: 304.1 kB / 0.4989 GB, free: 2.922 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2554, allocations: 0 / 0.4989 GB, free: 2.922 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04399/0.2994, allocations: 26.67 MB / 0.5249 GB, free: 15.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.051, allocations: 3.938 kB / 0.5249 GB, free: 15.47 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.130556598305702]