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.001292/0.001292, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 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.001443/0.001443, allocations: 213.3 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2465/0.2465, allocations: 46.93 MB / 360.8 MB, free: 4.188 MB / 286.1 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 0.00237/0.00237, allocations: 79.86 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3467, allocations: 66.09 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0213/0.368, allocations: 18.02 MB / 0.5783 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01036/0.3783, allocations: 7.089 MB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.3794, allocations: 31.75 kB / 0.5853 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.3805, allocations: 393.5 kB / 0.5857 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.3822, allocations: 0.6956 MB / 0.5863 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.386, allocations: 1.349 MB / 0.5877 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003548/0.3895, allocations: 2.556 MB / 0.5902 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.3905, allocations: 0.5651 MB / 0.5907 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.3928, allocations: 1.063 MB / 0.5917 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.3942, allocations: 0.8057 MB / 0.5925 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.3944, allocations: 88 kB / 0.5926 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.396, allocations: 0.6201 MB / 0.5932 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.3965, allocations: 382.9 kB / 0.5936 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007518/0.3972, allocations: 0.5134 MB / 0.5941 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.4, allocations: 1.616 MB / 0.5957 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4, allocations: 0 / 0.5957 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4, allocations: 0 / 0.5957 GB, free: 412 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.4, allocations: 0 / 0.5957 GB, free: 412 kB / 430.1 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.002634/0.4026, allocations: 1.237 MB / 0.5969 GB, free: 15.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4027, allocations: 16.03 kB / 0.5969 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.4029, allocations: 143.2 kB / 0.597 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004749/0.4034, allocations: 124.3 kB / 0.5971 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.4045, allocations: 0.5415 MB / 0.5977 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.4048, allocations: 411 kB / 0.5981 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.4049, allocations: 92.06 kB / 0.5982 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.407, allocations: 1.299 MB / 0.5994 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.407, allocations: 7.938 kB / 0.5994 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.4071, allocations: 43.94 kB / 0.5995 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.4072, allocations: 45.23 kB / 0.5995 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.4088, allocations: 0.9611 MB / 0.6005 GB, free: 11.23 MB / 446.1 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.007918/0.4167, allocations: 6.998 MB / 0.6073 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/0.4173, allocations: 296.1 kB / 0.6076 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.4176, allocations: 165.4 kB / 0.6077 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.4194, allocations: 0.852 MB / 0.6086 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.4194, allocations: 34.8 kB / 0.6086 GB, free: 2.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.724e-06/0.4194, allocations: 4 kB / 0.6086 GB, free: 2.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002355/0.4218, allocations: 1.033 MB / 0.6096 GB, free: 1.324 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.4218, allocations: 59.41 kB / 0.6097 GB, free: 1.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.4229, allocations: 0.8759 MB / 0.6105 GB, free: 376 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.423, allocations: 33.92 kB / 0.6106 GB, free: 336 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/0.4235, allocations: 0.596 MB / 0.6111 GB, free: 15.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.4236, allocations: 142.9 kB / 0.6113 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002988/0.4239, allocations: 238.7 kB / 0.6115 GB, free: 15.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.4241, allocations: 402.7 kB / 0.6119 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.4246, allocations: 242.5 kB / 0.6121 GB, free: 14.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.4256, allocations: 0.97 MB / 0.6131 GB, free: 13.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.4274, allocations: 1.323 MB / 0.6144 GB, free: 11.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.4275, allocations: 4 kB / 0.6144 GB, free: 11.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002054/0.4295, allocations: 1.212 MB / 0.6155 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.4295, allocations: 20.25 kB / 0.6156 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.4296, allocations: 28 kB / 0.6156 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.761e-05/0.4296, allocations: 36 kB / 0.6156 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.4304, allocations: 267.5 kB / 0.6159 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.297e-05/0.4305, allocations: 59.77 kB / 0.6159 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.4312, allocations: 48 kB / 0.616 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.4313, allocations: 72 kB / 0.616 GB, free: 9.941 MB / 462.1 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.0005169/0.4318, allocations: 354.2 kB / 0.6164 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.432, allocations: 91.44 kB / 0.6165 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009224/0.4329, allocations: 479.8 kB / 0.6169 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.433, allocations: 7.938 kB / 0.6169 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.433, allocations: 0 / 0.6169 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.433, allocations: 8 kB / 0.6169 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.4348, allocations: 1.066 MB / 0.618 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.4349, allocations: 11.92 kB / 0.618 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.4351, allocations: 72.09 kB / 0.6181 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.4352, allocations: 4 kB / 0.6181 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.4352, allocations: 8 kB / 0.6181 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.4352, allocations: 7.938 kB / 0.6181 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4352, allocations: 3.938 kB / 0.6181 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.4362, allocations: 0.6529 MB / 0.6187 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.4365, allocations: 127.3 kB / 0.6188 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.4366, allocations: 8 kB / 0.6189 GB, free: 6.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.437, allocations: 19.98 kB / 0.6189 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.437, allocations: 27.95 kB / 0.6189 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.4371, allocations: 23.98 kB / 0.6189 GB, free: 6.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008504/0.4379, allocations: 0.593 MB / 0.6195 GB, free: 6.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4379, allocations: 0 / 0.6195 GB, free: 6.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001233/0.4392, allocations: 307.6 kB / 0.6198 GB, free: 5.969 MB / 462.1 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.002063/0.4412, allocations: 1.402 MB / 0.6212 GB, free: 4.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.4426, allocations: 0.6189 MB / 0.6218 GB, free: 3.906 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.4426, allocations: 4 kB / 0.6218 GB, free: 3.902 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.4429, allocations: 135.8 kB / 0.6219 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.4448, allocations: 420.1 kB / 0.6223 GB, free: 3.371 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.4563, allocations: 8.036 MB / 0.6301 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.457, allocations: 1.001 MB / 0.6311 GB, free: 9.426 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009922/0.458, allocations: 314.4 kB / 0.6314 GB, free: 9.125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.4584, allocations: 299.3 kB / 0.6317 GB, free: 8.832 MB / 478.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4584, allocations: 0 / 0.6317 GB, free: 8.832 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06594/0.5244, allocations: 25.66 MB / 0.6568 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.39, allocations: 4.062 kB / 0.6568 GB, free: 15.34 MB / 0.4981 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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: 16.448259495999082]