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.002244/0.002244, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001089/0.001088, allocations: 94.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2829/0.2829, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.42e-05, allocations: 0 / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.211, allocations: 301.9 MB / 0.7676 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.211, allocations: 87.12 kB / 0.7677 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8217/2.033, allocations: 152.3 MB / 0.9164 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/2.033, allocations: 0 / 0.9164 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.994e-05/2.033, allocations: 23.72 kB / 0.9164 GB, free: 122.3 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.00357/2.037, allocations: 1.064 MB / 0.9175 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/2.037, allocations: 10.75 kB / 0.9175 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00094/2.038, allocations: 124.9 kB / 0.9176 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/2.04, allocations: 0.6086 MB / 0.9182 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/2.04, allocations: 251.9 kB / 0.9184 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/2.04, allocations: 74.66 kB / 0.9185 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/2.043, allocations: 1.274 MB / 0.9198 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/2.043, allocations: 8.281 kB / 0.9198 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/2.043, allocations: 45.69 kB / 0.9198 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.37e-05/2.044, allocations: 32.62 kB / 0.9198 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/2.046, allocations: 0.9154 MB / 0.9207 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009256/2.055, allocations: 6.583 MB / 0.9272 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/2.056, allocations: 298.5 kB / 0.9274 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/2.056, allocations: 163.2 kB / 0.9276 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003318/2.06, allocations: 2.878 MB / 0.9304 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/2.06, allocations: 46.92 kB / 0.9305 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/2.06, allocations: 0 / 0.9305 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.003222/2.063, allocations: 1.012 MB / 0.9314 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/2.063, allocations: 58.61 kB / 0.9315 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/2.064, allocations: 0.7635 MB / 0.9322 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/2.065, allocations: 35.41 kB / 0.9323 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/2.065, allocations: 0.6022 MB / 0.9329 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/2.065, allocations: 130.9 kB / 0.933 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/2.065, allocations: 25.44 kB / 0.933 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001072/2.065, allocations: 365.1 kB / 0.9334 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/2.066, allocations: 227.1 kB / 0.9336 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009138/2.067, allocations: 0.946 MB / 0.9345 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/2.068, allocations: 436.2 kB / 0.9349 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/2.068, allocations: 7.25 kB / 0.9349 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002421/2.07, allocations: 1.144 MB / 0.936 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/2.07, allocations: 15.5 kB / 0.9361 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-05/2.07, allocations: 23.91 kB / 0.9361 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.882e-05/2.07, allocations: 41.34 kB / 0.9361 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/2.072, allocations: 283 kB / 0.9364 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.821e-05/2.072, allocations: 46.47 kB / 0.9364 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/2.073, allocations: 71.52 kB / 0.9365 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/2.074, allocations: 80.03 kB / 0.9366 GB, free: 111.1 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 () * 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.0002983/2.074, allocations: 203.7 kB / 0.9368 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/2.074, allocations: 92.62 kB / 0.9369 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/2.075, allocations: 471.8 kB / 0.9373 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/2.075, allocations: 3.75 kB / 0.9373 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/2.075, allocations: 2.812 kB / 0.9373 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/2.075, allocations: 3.938 kB / 0.9373 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/2.078, allocations: 1.225 MB / 0.9385 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/2.078, allocations: 0 / 0.9385 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/2.078, allocations: 70.52 kB / 0.9386 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/2.078, allocations: 10.95 kB / 0.9386 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/2.078, allocations: 14.06 kB / 0.9386 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/2.078, allocations: 0 / 0.9386 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/2.078, allocations: 6.656 kB / 0.9386 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/2.08, allocations: 0.7132 MB / 0.9393 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/2.08, allocations: 203.9 kB / 0.9395 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/2.08, allocations: 19.53 kB / 0.9395 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008054/2.081, allocations: 29.48 kB / 0.9396 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/2.081, allocations: 22.7 kB / 0.9396 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/2.081, allocations: 28.83 kB / 0.9396 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001096/2.083, allocations: 0.5719 MB / 0.9402 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/2.083, allocations: 0 / 0.9402 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001786/2.084, allocations: 320.9 kB / 0.9405 GB, free: 109.7 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 () * 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.001041/2.085, allocations: 421.9 kB / 0.9409 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001492/2.087, allocations: 0.6186 MB / 0.9415 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.087, allocations: 4 kB / 0.9415 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/2.087, allocations: 139.8 kB / 0.9416 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/2.09, allocations: 382 kB / 0.942 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/2.093, allocations: 1.122 MB / 0.9431 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/2.094, allocations: 1.018 MB / 0.9441 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/2.094, allocations: 85.23 kB / 0.9441 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/2.094, allocations: 2.312 kB / 0.9441 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.03192/2.126, allocations: 15.04 MB / 0.9588 GB, free: 107.3 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