Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009967/0.0009969, allocations: 182.1 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.4 MB / 223.6 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007254/0.0007254, allocations: 107 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3014/0.3014, allocations: 43.55 MB / 363.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 16 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6198/0.7283, allocations: 302.1 MB / 0.7749 GB, free: 68.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.7286, allocations: 86.83 kB / 0.775 GB, free: 68.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4594/1.188, allocations: 151.8 MB / 0.9232 GB, free: 115 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/1.188, allocations: 0 / 0.9232 GB, free: 115 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.826e-05/1.188, allocations: 26.95 kB / 0.9233 GB, free: 115 MB / 0.4948 GB 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.002357/1.19, allocations: 1.127 MB / 0.9244 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/1.19, allocations: 10.78 kB / 0.9244 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005474/1.191, allocations: 119.3 kB / 0.9245 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/1.192, allocations: 0.6248 MB / 0.9251 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/1.192, allocations: 254.2 kB / 0.9253 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.192, allocations: 79.84 kB / 0.9254 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/1.194, allocations: 1.287 MB / 0.9267 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.194, allocations: 7.156 kB / 0.9267 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.194, allocations: 36.34 kB / 0.9267 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/1.194, allocations: 48.22 kB / 0.9268 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/1.196, allocations: 0.9254 MB / 0.9277 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/1.201, allocations: 6.591 MB / 0.9341 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/1.202, allocations: 306 kB / 0.9344 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/1.202, allocations: 168.5 kB / 0.9346 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002536/1.205, allocations: 2.823 MB / 0.9373 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/1.205, allocations: 42.67 kB / 0.9374 GB, free: 104 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/1.205, allocations: 0 / 0.9374 GB, free: 104 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.002152/1.207, allocations: 1.095 MB / 0.9384 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/1.207, allocations: 54.81 kB / 0.9385 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/1.208, allocations: 0.868 MB / 0.9393 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/1.208, allocations: 37.36 kB / 0.9394 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/1.208, allocations: 0.5685 MB / 0.9399 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/1.208, allocations: 139.2 kB / 0.94 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/1.208, allocations: 27.78 kB / 0.9401 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/1.208, allocations: 400.8 kB / 0.9405 GB, free: 102 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/1.209, allocations: 243.4 kB / 0.9407 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/1.209, allocations: 0.9549 MB / 0.9416 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.21, allocations: 1.315 MB / 0.9429 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/1.21, allocations: 7.656 kB / 0.9429 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001729/1.212, allocations: 1.202 MB / 0.9441 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/1.212, allocations: 14.78 kB / 0.9441 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.86e-05/1.212, allocations: 26.53 kB / 0.9441 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-05/1.212, allocations: 33.78 kB / 0.9442 GB, free: 99.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009245/1.213, allocations: 276 kB / 0.9444 GB, free: 99.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-05/1.213, allocations: 53.31 kB / 0.9445 GB, free: 99.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/1.214, allocations: 76.41 kB / 0.9445 GB, free: 98.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/1.214, allocations: 75.42 kB / 0.9446 GB, free: 98.97 MB / 0.4948 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003809/1.215, allocations: 334.1 kB / 0.9449 GB, free: 98.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.215, allocations: 87.97 kB / 0.945 GB, free: 98.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007279/1.215, allocations: 478.8 kB / 0.9455 GB, free: 98.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/1.215, allocations: 7.781 kB / 0.9455 GB, free: 98.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.215, allocations: 0 / 0.9455 GB, free: 98.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.215, allocations: 6.938 kB / 0.9455 GB, free: 98.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/1.217, allocations: 1.231 MB / 0.9467 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.217, allocations: 0 / 0.9467 GB, free: 97.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/1.217, allocations: 76.45 kB / 0.9468 GB, free: 97.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/1.217, allocations: 0 / 0.9468 GB, free: 97.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/1.217, allocations: 14.09 kB / 0.9468 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/1.217, allocations: 7.906 kB / 0.9468 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.217, allocations: 0 / 0.9468 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/1.218, allocations: 0.6384 MB / 0.9474 GB, free: 97.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/1.218, allocations: 207.8 kB / 0.9476 GB, free: 97.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.218, allocations: 18.14 kB / 0.9476 GB, free: 97.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/1.219, allocations: 26.67 kB / 0.9477 GB, free: 97.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/1.219, allocations: 24.33 kB / 0.9477 GB, free: 97.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/1.219, allocations: 21.36 kB / 0.9477 GB, free: 97.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005787/1.219, allocations: 0.5805 MB / 0.9483 GB, free: 96.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.1e-07/1.219, allocations: 0 / 0.9483 GB, free: 96.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001022/1.22, allocations: 322.6 kB / 0.9486 GB, free: 96.75 MB / 0.4948 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006982/1.221, allocations: 427.8 kB / 0.949 GB, free: 96.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008076/1.222, allocations: 0.6299 MB / 0.9496 GB, free: 96.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.222, allocations: 0.5 kB / 0.9496 GB, free: 96.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/1.222, allocations: 153.5 kB / 0.9497 GB, free: 96.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/1.224, allocations: 383.2 kB / 0.9501 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/1.226, allocations: 1.8 MB / 0.9519 GB, free: 95.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/1.226, allocations: 0.9988 MB / 0.9528 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/1.226, allocations: 85.66 kB / 0.9529 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/1.226, allocations: 0 / 0.9529 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.01806/1.244, allocations: 15.02 MB / 0.9676 GB, free: 86.47 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches