Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 113 kB / 17.33 MB, free: 6.012 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.001021/0.001021, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241.9 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2008/0.2008, allocations: 44.19 MB / 336.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 68.64 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09992, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01918/0.1191, allocations: 18.09 MB / 486.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009087/0.1283, allocations: 7.055 MB / 493.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.1296, allocations: 23.81 kB / 493.9 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.1308, allocations: 334.2 kB / 494.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.1325, allocations: 0.6298 MB / 494.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003184/0.1357, allocations: 1.235 MB / 496.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.1382, allocations: 2.517 MB / 498.6 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008697/0.1391, allocations: 0.678 MB / 499.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.1408, allocations: 1.028 MB / 0.4886 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.1418, allocations: 0.8057 MB / 0.4894 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.142, allocations: 88 kB / 0.4894 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.1431, allocations: 0.5304 MB / 0.49 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.1434, allocations: 379 kB / 0.4903 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005094/0.1439, allocations: 0.529 MB / 0.4908 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.1455, allocations: 1.535 MB / 0.4923 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1456, allocations: 0 / 0.4923 GB, free: 11.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1456, allocations: 0 / 0.4923 GB, free: 11.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.1456, allocations: 0 / 0.4923 GB, free: 11.16 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.002268/0.1479, allocations: 1.287 MB / 0.4936 GB, free: 9.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1479, allocations: 12.03 kB / 0.4936 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.1484, allocations: 115.9 kB / 0.4937 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.1492, allocations: 0.5872 MB / 0.4943 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.1494, allocations: 252.8 kB / 0.4945 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.1495, allocations: 80.28 kB / 0.4946 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.1514, allocations: 1.309 MB / 0.4959 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.1514, allocations: 7.938 kB / 0.4959 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.1516, allocations: 36 kB / 0.4959 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.1516, allocations: 41.3 kB / 0.496 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1531, allocations: 0.9649 MB / 0.4969 GB, free: 6.219 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.1907/0.3438, allocations: 7.085 MB / 0.5038 GB, free: 47.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.3444, allocations: 312.5 kB / 0.5041 GB, free: 47.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.3447, allocations: 173.3 kB / 0.5043 GB, free: 47.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.3467, allocations: 2.826 MB / 0.5071 GB, free: 45.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.3468, allocations: 39.17 kB / 0.5071 GB, free: 44.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.3468, allocations: 3.938 kB / 0.5071 GB, free: 44.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002191/0.349, allocations: 1.107 MB / 0.5082 GB, free: 44.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.349, allocations: 58.47 kB / 0.5082 GB, free: 44.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.3501, allocations: 0.8734 MB / 0.5091 GB, free: 44.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.3502, allocations: 31.36 kB / 0.5091 GB, free: 44.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.3505, allocations: 0.5751 MB / 0.5097 GB, free: 43.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.3506, allocations: 139.8 kB / 0.5098 GB, free: 43.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.3509, allocations: 239 kB / 0.51 GB, free: 43.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.351, allocations: 393.3 kB / 0.5104 GB, free: 43.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003966/0.3514, allocations: 246.4 kB / 0.5107 GB, free: 43.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.3521, allocations: 0.9604 MB / 0.5116 GB, free: 42.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3531, allocations: 1.324 MB / 0.5129 GB, free: 40.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.3532, allocations: 7.656 kB / 0.5129 GB, free: 40.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001745/0.3549, allocations: 1.204 MB / 0.5141 GB, free: 40.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.355, allocations: 16.09 kB / 0.5141 GB, free: 40.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.355, allocations: 26.67 kB / 0.5141 GB, free: 40.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.018e-05/0.355, allocations: 40.94 kB / 0.5141 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.3558, allocations: 281.5 kB / 0.5144 GB, free: 40.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.252e-05/0.3559, allocations: 52.53 kB / 0.5145 GB, free: 40.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.3567, allocations: 65.97 kB / 0.5145 GB, free: 40.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.3568, allocations: 75.84 kB / 0.5146 GB, free: 40.33 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.0003732/0.3571, allocations: 328.5 kB / 0.5149 GB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3573, allocations: 90.03 kB / 0.515 GB, free: 40.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008872/0.3582, allocations: 479.8 kB / 0.5155 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.3582, allocations: 9.203 kB / 0.5155 GB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3582, allocations: 0 / 0.5155 GB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3582, allocations: 1.688 kB / 0.5155 GB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.3598, allocations: 1.247 MB / 0.5167 GB, free: 39.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3598, allocations: 5.656 kB / 0.5167 GB, free: 39.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3601, allocations: 69.44 kB / 0.5168 GB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3602, allocations: 3.281 kB / 0.5168 GB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3602, allocations: 9.359 kB / 0.5168 GB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3602, allocations: 4.266 kB / 0.5168 GB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3602, allocations: 1.828 kB / 0.5168 GB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/0.361, allocations: 0.655 MB / 0.5174 GB, free: 38.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.3613, allocations: 196.3 kB / 0.5176 GB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3614, allocations: 13.33 kB / 0.5176 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.3619, allocations: 23.39 kB / 0.5176 GB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.362, allocations: 30.91 kB / 0.5177 GB, free: 38.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.362, allocations: 28.83 kB / 0.5177 GB, free: 38.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008719/0.3629, allocations: 0.5942 MB / 0.5183 GB, free: 38.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3629, allocations: 0 / 0.5183 GB, free: 38.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001114/0.364, allocations: 302.4 kB / 0.5186 GB, free: 38.15 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.000656/0.3647, allocations: 337.3 kB / 0.5189 GB, free: 38.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.3659, allocations: 0.6733 MB / 0.5195 GB, free: 37.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3659, allocations: 1.281 kB / 0.5195 GB, free: 37.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.3661, allocations: 144 kB / 0.5197 GB, free: 37.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.368, allocations: 434.5 kB / 0.5201 GB, free: 37.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.3705, allocations: 1.747 MB / 0.5218 GB, free: 36.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.371, allocations: 1.001 MB / 0.5228 GB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.3722, allocations: 315.1 kB / 0.5231 GB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.3723, allocations: 78.72 kB / 0.5232 GB, free: 35.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3723, allocations: 0 / 0.5232 GB, free: 35.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02474/0.3971, allocations: 15.85 MB / 0.5386 GB, free: 24.35 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches