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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003885/0.003885, allocations: 101.8 kB / 15.88 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 194.2 kB / 16.79 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 222.6 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3057/0.3057, allocations: 43.49 MB / 313.5 MB, free: 8.559 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 382.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.109, allocations: 57.78 MB / 439.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.197/0.3061, allocations: 18.13 MB / 458 MB, free: 37.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.3174, allocations: 7.129 MB / 465.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.3189, allocations: 29.78 kB / 465.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.3204, allocations: 329.5 kB / 465.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.3222, allocations: 0.6465 MB / 466.2 MB, free: 36.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.3258, allocations: 1.207 MB / 467.4 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.329, allocations: 3.573 MB / 471 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000806/0.3298, allocations: 0.5885 MB / 471.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.3314, allocations: 0.9183 MB / 472.5 MB, free: 35.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008356/0.3322, allocations: 0.7813 MB / 473.2 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.3324, allocations: 57.2 kB / 473.3 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.3337, allocations: 0.5446 MB / 473.8 MB, free: 34.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.3339, allocations: 343.3 kB / 474.2 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004495/0.3344, allocations: 486.6 kB / 474.6 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3358, allocations: 1.5 MB / 476.1 MB, free: 33.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3358, allocations: 0 / 476.1 MB, free: 33.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3358, allocations: 3.094 kB / 476.2 MB, free: 33.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3359, allocations: 0 / 476.2 MB, free: 33.72 MB / 382.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.002077/0.3379, allocations: 1.292 MB / 477.4 MB, free: 32.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.338, allocations: 9.625 kB / 477.5 MB, free: 32.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.3381, allocations: 140.3 kB / 477.6 MB, free: 32.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004119/0.3386, allocations: 121.4 kB / 477.7 MB, free: 32.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.3393, allocations: 0.5861 MB / 478.3 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.3394, allocations: 245.9 kB / 478.5 MB, free: 32.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3395, allocations: 87.61 kB / 478.6 MB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.341, allocations: 1.301 MB / 479.9 MB, free: 31.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.341, allocations: 7.219 kB / 479.9 MB, free: 31.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.3411, allocations: 45.08 kB / 480 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.3412, allocations: 41.84 kB / 480 MB, free: 31.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.3424, allocations: 0.9658 MB / 481 MB, free: 31.03 MB / 382.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.004568/0.347, allocations: 7.094 MB / 488.1 MB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.3475, allocations: 303.7 kB / 488.4 MB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.3477, allocations: 182.8 kB / 488.5 MB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/0.3494, allocations: 2.821 MB / 491.4 MB, free: 21.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.3494, allocations: 37.77 kB / 491.4 MB, free: 21.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/0.3494, allocations: 0 / 491.4 MB, free: 21.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001924/0.3514, allocations: 1.104 MB / 492.5 MB, free: 21.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3514, allocations: 68.55 kB / 492.6 MB, free: 21.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/0.3521, allocations: 0.8624 MB / 493.4 MB, free: 20.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3522, allocations: 32.73 kB / 493.5 MB, free: 20.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.3525, allocations: 0.5739 MB / 494 MB, free: 20.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.93e-05/0.3526, allocations: 133 kB / 494.2 MB, free: 20.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.3528, allocations: 239.3 kB / 494.4 MB, free: 20.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3529, allocations: 398.7 kB / 494.8 MB, free: 19.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.3533, allocations: 242.7 kB / 495 MB, free: 19.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/0.3541, allocations: 0.9686 MB / 496 MB, free: 18.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3552, allocations: 1.325 MB / 497.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.3552, allocations: 8.594 kB / 497.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001696/0.3569, allocations: 1.21 MB / 498.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.3569, allocations: 19.84 kB / 498.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/0.357, allocations: 25.56 kB / 498.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.274e-05/0.357, allocations: 34.88 kB / 498.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/0.3578, allocations: 274.1 kB / 498.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.221e-05/0.3579, allocations: 52.48 kB / 498.9 MB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.3586, allocations: 73.42 kB / 499 MB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.3587, allocations: 73.03 kB / 499.1 MB, free: 16.74 MB / 382.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.0003644/0.359, allocations: 333.4 kB / 499.4 MB, free: 16.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3592, allocations: 91.83 kB / 499.5 MB, free: 16.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008169/0.36, allocations: 480.3 kB / 500 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.36, allocations: 4.438 kB / 500 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.36, allocations: 0 / 500 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.36, allocations: 5.953 kB / 500 MB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.3616, allocations: 1.244 MB / 0.4895 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3616, allocations: 1.25 kB / 0.4895 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.3619, allocations: 70.56 kB / 0.4895 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3619, allocations: 10.7 kB / 0.4896 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.3619, allocations: 15.41 kB / 0.4896 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3619, allocations: 3.156 kB / 0.4896 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3619, allocations: 2.781 kB / 0.4896 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/0.3627, allocations: 0.6472 MB / 0.4902 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.363, allocations: 201.8 kB / 0.4904 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3631, allocations: 17.42 kB / 0.4904 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.3635, allocations: 22.75 kB / 0.4904 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.3635, allocations: 23.39 kB / 0.4905 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.3636, allocations: 25.75 kB / 0.4905 GB, free: 14.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000688/0.3643, allocations: 0.5933 MB / 0.4911 GB, free: 14.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3643, allocations: 0 / 0.4911 GB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001107/0.3654, allocations: 301.7 kB / 0.4914 GB, free: 14.53 MB / 382.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.001587/0.367, allocations: 1.424 MB / 0.4927 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.368, allocations: 0.6344 MB / 0.4934 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.368, allocations: 1.406 kB / 0.4934 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.3683, allocations: 144.9 kB / 0.4935 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.3701, allocations: 397.5 kB / 0.4939 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.3804, allocations: 8.695 MB / 0.5024 GB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007398/0.3812, allocations: 0.9978 MB / 0.5033 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001576/0.3828, allocations: 323.2 kB / 0.5037 GB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.3832, allocations: 302.1 kB / 0.5039 GB, free: 5.922 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3832, allocations: 1.406 kB / 0.5039 GB, free: 5.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/0.4234, allocations: 23.68 MB / 0.5271 GB, free: 5.457 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.4237, allocations: 264.3 kB / 0.5273 GB, free: 5.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/2.639, allocations: 0 / 0.5273 GB, free: 5.172 MB / 398.1 MB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches