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.001812/0.001812, allocations: 110.2 kB / 19.69 MB, free: 2.203 MB / 14.72 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.001872/0.001872, allocations: 223.3 kB / 23.01 MB, free: 5.039 MB / 14.72 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 1.422/1.422, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] 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.2237/0.2237, allocations: 44.25 MB / 330.3 MB, free: 9.602 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 73.61 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1163, allocations: 61.05 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0233/0.1396, allocations: 17.91 MB / 0.5336 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2407/0.3803, allocations: 7.069 MB / 0.5405 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.3814, allocations: 30.97 kB / 0.5406 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.3826, allocations: 390.3 kB / 0.5409 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.3843, allocations: 0.6879 MB / 0.5416 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.3883, allocations: 1.361 MB / 0.5429 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00463/0.3929, allocations: 2.544 MB / 0.5454 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.3943, allocations: 0.5729 MB / 0.546 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.3968, allocations: 1.06 MB / 0.547 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.3985, allocations: 0.8055 MB / 0.5478 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.3988, allocations: 86.34 kB / 0.5479 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.4007, allocations: 0.5628 MB / 0.5484 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.4012, allocations: 382.7 kB / 0.5488 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008752/0.4021, allocations: 0.5164 MB / 0.5493 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.4053, allocations: 1.543 MB / 0.5508 GB, free: 8.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4053, allocations: 1.281 kB / 0.5508 GB, free: 8.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4053, allocations: 0 / 0.5508 GB, free: 8.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.95e-05/0.4053, allocations: 0 / 0.5508 GB, free: 8.863 MB / 414.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.003275/0.4086, allocations: 1.241 MB / 0.552 GB, free: 8.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4086, allocations: 9.156 kB / 0.552 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.4088, allocations: 144.5 kB / 0.5522 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.4094, allocations: 125.5 kB / 0.5523 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.4107, allocations: 0.5541 MB / 0.5528 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4109, allocations: 409.6 kB / 0.5532 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.4111, allocations: 78.77 kB / 0.5533 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.4132, allocations: 1.309 MB / 0.5546 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.4133, allocations: 8.859 kB / 0.5546 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.4134, allocations: 43.98 kB / 0.5546 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-05/0.4134, allocations: 41.5 kB / 0.5547 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.4152, allocations: 0.9631 MB / 0.5556 GB, free: 7.113 MB / 414.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.006922/0.4221, allocations: 7.018 MB / 0.5625 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.4227, allocations: 294.4 kB / 0.5627 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.4229, allocations: 158.6 kB / 0.5629 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001896/0.4248, allocations: 0.8584 MB / 0.5637 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.4249, allocations: 39.05 kB / 0.5638 GB, free: 0.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.4249, allocations: 1.094 kB / 0.5638 GB, free: 0.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002331/0.4272, allocations: 1.038 MB / 0.5648 GB, free: 160 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.4272, allocations: 59.09 kB / 0.5648 GB, free: 92 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.4284, allocations: 0.8756 MB / 0.5657 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.4285, allocations: 36.7 kB / 0.5657 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.429, allocations: 0.5937 MB / 0.5663 GB, free: 15.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.4291, allocations: 144.1 kB / 0.5665 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.4294, allocations: 240.8 kB / 0.5667 GB, free: 14.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.4297, allocations: 397.1 kB / 0.5671 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.4302, allocations: 246.5 kB / 0.5673 GB, free: 14.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.4314, allocations: 0.9662 MB / 0.5682 GB, free: 13.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.4334, allocations: 1.318 MB / 0.5695 GB, free: 12.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.415e-05/0.4334, allocations: 6.906 kB / 0.5695 GB, free: 12.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002507/0.436, allocations: 1.212 MB / 0.5707 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.436, allocations: 16.47 kB / 0.5707 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-05/0.436, allocations: 26.36 kB / 0.5708 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.148e-05/0.4361, allocations: 36.47 kB / 0.5708 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/0.437, allocations: 279.3 kB / 0.5711 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.045e-05/0.437, allocations: 56 kB / 0.5711 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009027/0.4379, allocations: 55.25 kB / 0.5712 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.4381, allocations: 72.52 kB / 0.5712 GB, free: 11.64 MB / 430.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.0005732/0.4386, allocations: 335.7 kB / 0.5716 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.4389, allocations: 91.31 kB / 0.5716 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.4399, allocations: 494.7 kB / 0.5721 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.4399, allocations: 2.938 kB / 0.5721 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4399, allocations: 0 / 0.5721 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4399, allocations: 4.734 kB / 0.5721 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.442, allocations: 1.069 MB / 0.5732 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.442, allocations: 3.312 kB / 0.5732 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.4423, allocations: 70.59 kB / 0.5732 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.4423, allocations: 7.562 kB / 0.5732 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.4424, allocations: 9.531 kB / 0.5733 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/0.4424, allocations: 6.875 kB / 0.5733 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4424, allocations: 5.125 kB / 0.5733 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.4435, allocations: 0.6642 MB / 0.5739 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004595/0.444, allocations: 126.9 kB / 0.574 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.4442, allocations: 12.09 kB / 0.574 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.4447, allocations: 19.88 kB / 0.5741 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.4448, allocations: 19 kB / 0.5741 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.4448, allocations: 25.5 kB / 0.5741 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009386/0.4458, allocations: 0.5958 MB / 0.5747 GB, free: 9.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4458, allocations: 4.062 kB / 0.5747 GB, free: 9.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001615/0.4474, allocations: 300.1 kB / 0.575 GB, free: 9.734 MB / 430.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.002317/0.4497, allocations: 1.43 MB / 0.5764 GB, free: 8.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.4511, allocations: 0.615 MB / 0.577 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.4511, allocations: 1.094 kB / 0.577 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.4514, allocations: 143.1 kB / 0.5771 GB, free: 8.496 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.4535, allocations: 428.9 kB / 0.5775 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/0.4663, allocations: 8.038 MB / 0.5854 GB, free: 2.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.467, allocations: 0.9998 MB / 0.5863 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00129/0.4683, allocations: 315.8 kB / 0.5866 GB, free: 1.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.4688, allocations: 302.4 kB / 0.5869 GB, free: 1.047 MB / 430.1 MB Notification: Performance of SimCode: time 1.372e-06/0.4688, allocations: 0 / 0.5869 GB, free: 1.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0684/0.5372, allocations: 25.77 MB / 0.6121 GB, free: 10.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.23, allocations: 3.938 kB / 0.6121 GB, free: 10.05 MB / 462.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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: 16.271824163850397]