Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001249/0.001249, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001552/0.001552, 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.9493/0.9493, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.26/0.26, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.244e-05, allocations: 2.281 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1954/0.1955, allocations: 16.21 MB / 458.4 MB, free: 34.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005417/0.2009, allocations: 6.48 MB / 464.9 MB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.2017, allocations: 32.34 kB / 464.9 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008663/0.2025, allocations: 368.9 kB / 465.3 MB, free: 29.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.2038, allocations: 0.7157 MB / 466 MB, free: 29.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.2065, allocations: 1.381 MB / 467.3 MB, free: 28.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.2085, allocations: 2.513 MB / 469.9 MB, free: 27.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.2092, allocations: 0.5707 MB / 470.4 MB, free: 27.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.2108, allocations: 1.33 MB / 471.8 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.2115, allocations: 0.7263 MB / 472.5 MB, free: 26.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.2116, allocations: 92.62 kB / 472.6 MB, free: 26.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000926/0.2125, allocations: 492.2 kB / 473.1 MB, free: 26.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.2128, allocations: 398.2 kB / 473.4 MB, free: 26.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.2131, allocations: 380.6 kB / 473.8 MB, free: 26.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.2146, allocations: 1.64 MB / 475.5 MB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2147, allocations: 0 / 475.5 MB, free: 25.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2147, allocations: 0 / 475.5 MB, free: 25.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.2147, allocations: 3.219 kB / 475.5 MB, free: 25.61 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.001677/0.2163, allocations: 1.233 MB / 476.7 MB, free: 24.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2164, allocations: 6.562 kB / 476.7 MB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.2165, allocations: 143.6 kB / 476.8 MB, free: 24.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.2168, allocations: 124.8 kB / 477 MB, free: 24.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006635/0.2175, allocations: 0.5513 MB / 477.5 MB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.2176, allocations: 403.3 kB / 477.9 MB, free: 23.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/0.2177, allocations: 88.56 kB / 478 MB, free: 23.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.2189, allocations: 1.701 MB / 479.7 MB, free: 22.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.2189, allocations: 14.95 kB / 479.7 MB, free: 22.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.219, allocations: 38.31 kB / 479.7 MB, free: 22.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.219, allocations: 43.56 kB / 479.8 MB, free: 22.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.22, allocations: 0.96 MB / 480.8 MB, free: 22.34 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.003599/0.2236, allocations: 5.908 MB / 486.7 MB, free: 17.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.224, allocations: 288.9 kB / 486.9 MB, free: 17.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.2241, allocations: 168.1 kB / 487.1 MB, free: 17.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.2253, allocations: 0.7951 MB / 487.9 MB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2253, allocations: 41.92 kB / 487.9 MB, free: 16.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.424e-06/0.2253, allocations: 0 / 487.9 MB, free: 16.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001517/0.2268, allocations: 1.041 MB / 489 MB, free: 16.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.2268, allocations: 54.28 kB / 489 MB, free: 16.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.2275, allocations: 0.9188 MB / 490 MB, free: 15.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.2275, allocations: 32.67 kB / 490 MB, free: 15.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.2278, allocations: 0.586 MB / 490.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.2278, allocations: 141.1 kB / 490.7 MB, free: 15.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.228, allocations: 241.5 kB / 490.9 MB, free: 15.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.2281, allocations: 397.7 kB / 491.3 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.2284, allocations: 246 kB / 491.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000546/0.229, allocations: 0.9632 MB / 492.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009297/0.2299, allocations: 1.324 MB / 493.9 MB, free: 12.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.2299, allocations: 7.281 kB / 493.9 MB, free: 12.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001331/0.2313, allocations: 1.211 MB / 495.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.2313, allocations: 15.31 kB / 495.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.2313, allocations: 26.34 kB / 495.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.285e-05/0.2314, allocations: 38.62 kB / 495.2 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.2319, allocations: 274 kB / 495.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.605e-05/0.2319, allocations: 48.86 kB / 495.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.2324, allocations: 53.08 kB / 495.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.069e-05/0.2325, allocations: 79.77 kB / 495.6 MB, free: 11.85 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.000343/0.2329, allocations: 337.8 kB / 495.9 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.233, allocations: 89.94 kB / 496 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/0.2336, allocations: 491.1 kB / 496.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.2336, allocations: 2.281 kB / 496.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2336, allocations: 5.594 kB / 496.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2336, allocations: 0 / 496.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.2348, allocations: 1.01 MB / 497.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2348, allocations: 3.844 kB / 497.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.235, allocations: 67.16 kB / 497.6 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.235, allocations: 2.75 kB / 497.6 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.235, allocations: 16.66 kB / 497.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.235, allocations: 15.16 kB / 497.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.235, allocations: 2.812 kB / 497.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.2357, allocations: 0.6459 MB / 498.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.2359, allocations: 132.2 kB / 498.4 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.236, allocations: 14.97 kB / 498.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2362, allocations: 18.14 kB / 498.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.2362, allocations: 20.16 kB / 498.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.2362, allocations: 25.06 kB / 498.5 MB, free: 10.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006104/0.2369, allocations: 0.5955 MB / 499.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2369, allocations: 64 / 499.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009733/0.2378, allocations: 311.7 kB / 499.4 MB, free: 9.949 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.001226/0.2391, allocations: 1.407 MB / 0.489 GB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009206/0.24, allocations: 0.6174 MB / 0.4896 GB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.24, allocations: 1 kB / 0.4896 GB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.2401, allocations: 142.5 kB / 0.4898 GB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.2414, allocations: 431.1 kB / 0.4902 GB, free: 8.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/0.2495, allocations: 7.922 MB / 0.4979 GB, free: 3.367 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.2499, allocations: 407 kB / 0.4983 GB, free: 3.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008737/0.2508, allocations: 306.8 kB / 0.4986 GB, free: 3.184 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.251, allocations: 304.4 kB / 0.4989 GB, free: 2.973 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.251, allocations: 3.938 kB / 0.4989 GB, free: 2.969 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/0.2977, allocations: 26.68 MB / 0.525 GB, free: 15.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.049, allocations: 4 kB / 0.525 GB, free: 15.61 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.251165397465229]