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.002234/0.002234, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 91.5 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2971/0.2971, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.066e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4021, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7712/1.173, allocations: 301.3 MB / 0.7601 GB, free: 35 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/1.174, allocations: 80.95 kB / 0.7602 GB, free: 34.95 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8201/1.994, allocations: 150.7 MB / 0.9073 GB, free: 126.4 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.665e-06/1.994, allocations: 0 / 0.9073 GB, free: 126.4 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 9.732e-05/1.994, allocations: 31.84 kB / 0.9074 GB, free: 126.4 MB / 0.4952 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.003979/1.998, allocations: 1.07 MB / 0.9084 GB, free: 125.3 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.998, allocations: 16.03 kB / 0.9084 GB, free: 125.3 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009193/1.999, allocations: 114.9 kB / 0.9085 GB, free: 125.2 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/2.001, allocations: 0.6079 MB / 0.9091 GB, free: 124.5 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/2.001, allocations: 228.2 kB / 0.9094 GB, free: 124.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/2.002, allocations: 51.89 kB / 0.9094 GB, free: 124.2 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002259/2.004, allocations: 0.7965 MB / 0.9102 GB, free: 123.4 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/2.006, allocations: 1.15 MB / 0.9113 GB, free: 122.1 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/2.006, allocations: 7.938 kB / 0.9113 GB, free: 122.1 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/2.007, allocations: 4 kB / 0.9113 GB, free: 122.1 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.412e-05/2.007, allocations: 45.25 kB / 0.9114 GB, free: 122.1 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009146/2.016, allocations: 6.671 MB / 0.9179 GB, free: 115.1 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000578/2.016, allocations: 258.6 kB / 0.9181 GB, free: 114.8 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/2.017, allocations: 144.9 kB / 0.9183 GB, free: 114.7 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003292/2.02, allocations: 2.848 MB / 0.921 GB, free: 111.3 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/2.02, allocations: 30.75 kB / 0.9211 GB, free: 111.3 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=21): time 2.866e-06/2.02, allocations: 4 kB / 0.9211 GB, free: 111.3 MB / 0.4952 GB Notification: Performance of matching and sorting (n=27): time 0.00288/2.023, allocations: 0.8614 MB / 0.9219 GB, free: 110.4 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/2.023, allocations: 63.33 kB / 0.922 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/2.024, allocations: 0.6517 MB / 0.9226 GB, free: 109.6 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/2.024, allocations: 29.7 kB / 0.9226 GB, free: 109.6 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/2.025, allocations: 0.6422 MB / 0.9233 GB, free: 108.9 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/2.025, allocations: 106.6 kB / 0.9234 GB, free: 108.8 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/2.025, allocations: 0 / 0.9234 GB, free: 108.8 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001048/2.025, allocations: 358.8 kB / 0.9237 GB, free: 108.5 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/2.025, allocations: 210.5 kB / 0.9239 GB, free: 108.3 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007517/2.026, allocations: 0.922 MB / 0.9248 GB, free: 107 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/2.027, allocations: 424.7 kB / 0.9252 GB, free: 106.6 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/2.027, allocations: 8 kB / 0.9252 GB, free: 106.6 MB / 0.4952 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002565/2.03, allocations: 1.001 MB / 0.9262 GB, free: 105.6 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/2.03, allocations: 16 kB / 0.9262 GB, free: 105.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/2.03, allocations: 28 kB / 0.9262 GB, free: 105.5 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.695e-05/2.03, allocations: 36 kB / 0.9263 GB, free: 105.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/2.032, allocations: 283.5 kB / 0.9265 GB, free: 105.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.514e-05/2.032, allocations: 51.78 kB / 0.9266 GB, free: 105.2 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/2.033, allocations: 40.41 kB / 0.9266 GB, free: 105.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/2.033, allocations: 71.98 kB / 0.9267 GB, free: 105 MB / 0.4952 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.0002532/2.033, allocations: 177.4 kB / 0.9269 GB, free: 104.9 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/2.033, allocations: 71.16 kB / 0.9269 GB, free: 104.8 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/2.035, allocations: 367.6 kB / 0.9273 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/2.035, allocations: 8 kB / 0.9273 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/2.035, allocations: 3.953 kB / 0.9273 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/2.035, allocations: 3.984 kB / 0.9273 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/2.037, allocations: 0.8822 MB / 0.9282 GB, free: 103.5 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/2.037, allocations: 0 / 0.9282 GB, free: 103.5 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/2.037, allocations: 55.97 kB / 0.9282 GB, free: 103.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/2.037, allocations: 0 / 0.9282 GB, free: 103.4 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/2.037, allocations: 11.95 kB / 0.9282 GB, free: 103.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/2.037, allocations: 4 kB / 0.9282 GB, free: 103.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/2.037, allocations: 3.938 kB / 0.9282 GB, free: 103.4 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/2.038, allocations: 0.5289 MB / 0.9288 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/2.039, allocations: 184.2 kB / 0.9289 GB, free: 102.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/2.039, allocations: 7.938 kB / 0.9289 GB, free: 102.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/2.04, allocations: 11.91 kB / 0.9289 GB, free: 102.6 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/2.04, allocations: 15.97 kB / 0.929 GB, free: 102.6 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/2.04, allocations: 28.05 kB / 0.929 GB, free: 102.6 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0007437/2.041, allocations: 443.1 kB / 0.9294 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.81e-07/2.041, allocations: 0 / 0.9294 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001756/2.042, allocations: 291.8 kB / 0.9297 GB, free: 101.9 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 27 * 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.001004/2.044, allocations: 417.4 kB / 0.9301 GB, free: 101.5 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001317/2.045, allocations: 0.5445 MB / 0.9306 GB, free: 101 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/2.045, allocations: 0 / 0.9306 GB, free: 101 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/2.045, allocations: 115.8 kB / 0.9307 GB, free: 100.8 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/2.047, allocations: 241 kB / 0.931 GB, free: 100.6 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/2.05, allocations: 1.034 MB / 0.932 GB, free: 99.54 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/2.05, allocations: 1.004 MB / 0.933 GB, free: 98.51 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/2.05, allocations: 83.36 kB / 0.933 GB, free: 98.43 MB / 0.4952 GB Notification: Performance of SimCode: time 1.062e-06/2.05, allocations: 0 / 0.933 GB, free: 98.43 MB / 0.4952 GB Notification: Performance of Templates: time 0.02803/2.079, allocations: 13.38 MB / 0.9461 GB, free: 85.07 MB / 0.4952 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