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.001354/0.001353, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001322/0.001322, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.406/1.406, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.2232/0.2232, allocations: 44.17 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 70.11 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1429, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02789/0.1708, allocations: 17.6 MB / 487.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01457/0.1854, allocations: 6.999 MB / 494.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.1871, allocations: 27.88 kB / 494.6 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.1892, allocations: 381.6 kB / 494.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.1925, allocations: 0.6605 MB / 495.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006139/0.1987, allocations: 1.336 MB / 496.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005019/0.2037, allocations: 2.506 MB / 499.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.2056, allocations: 0.6741 MB / 0.4884 GB, free: 92 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/0.2092, allocations: 1.032 MB / 0.4894 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.211, allocations: 0.7513 MB / 0.4901 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.2115, allocations: 88 kB / 0.4902 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.2136, allocations: 0.5382 MB / 0.4907 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007199/0.2143, allocations: 371.1 kB / 0.4911 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.2157, allocations: 0.5134 MB / 0.4916 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003726/0.2194, allocations: 1.519 MB / 0.4931 GB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.2195, allocations: 0 / 0.4931 GB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2195, allocations: 3.938 kB / 0.4931 GB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.689e-05/0.2195, allocations: 4 kB / 0.4931 GB, free: 11.27 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.003808/0.2234, allocations: 1.283 MB / 0.4943 GB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.2234, allocations: 8.031 kB / 0.4943 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006639/0.2241, allocations: 119.8 kB / 0.4945 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.2253, allocations: 0.5795 MB / 0.495 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.2256, allocations: 260.7 kB / 0.4953 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.2258, allocations: 84.3 kB / 0.4953 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.228, allocations: 1.31 MB / 0.4966 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.2281, allocations: 7.938 kB / 0.4966 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.2282, allocations: 36 kB / 0.4967 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.701e-05/0.2283, allocations: 41.3 kB / 0.4967 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.2301, allocations: 0.9649 MB / 0.4977 GB, free: 6.32 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.2872/0.5173, allocations: 7.101 MB / 0.5046 GB, free: 47.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/0.518, allocations: 308.6 kB / 0.5049 GB, free: 47.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.5184, allocations: 173.5 kB / 0.505 GB, free: 47.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002532/0.5209, allocations: 2.819 MB / 0.5078 GB, free: 44.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.5209, allocations: 40.2 kB / 0.5078 GB, free: 44.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.521, allocations: 3.375 kB / 0.5078 GB, free: 44.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002496/0.5235, allocations: 1.115 MB / 0.5089 GB, free: 44.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.5235, allocations: 55.52 kB / 0.509 GB, free: 44.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.5248, allocations: 0.8728 MB / 0.5098 GB, free: 44.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.5249, allocations: 36.42 kB / 0.5099 GB, free: 44.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.5253, allocations: 0.5735 MB / 0.5104 GB, free: 43.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.5254, allocations: 134.8 kB / 0.5106 GB, free: 43.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.5257, allocations: 243.4 kB / 0.5108 GB, free: 43.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5259, allocations: 395.7 kB / 0.5112 GB, free: 43.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.5263, allocations: 241.7 kB / 0.5114 GB, free: 42.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/0.5272, allocations: 0.9624 MB / 0.5123 GB, free: 41.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.5286, allocations: 1.325 MB / 0.5136 GB, free: 40.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.5286, allocations: 7.844 kB / 0.5136 GB, free: 40.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002076/0.5307, allocations: 1.21 MB / 0.5148 GB, free: 40.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.5307, allocations: 16.38 kB / 0.5148 GB, free: 40.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/0.5308, allocations: 25.25 kB / 0.5149 GB, free: 40.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.11e-05/0.5308, allocations: 38.31 kB / 0.5149 GB, free: 40.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.5317, allocations: 275.4 kB / 0.5152 GB, free: 40.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.598e-05/0.5318, allocations: 52.14 kB / 0.5152 GB, free: 40.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/0.5326, allocations: 50.61 kB / 0.5153 GB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.5327, allocations: 72.98 kB / 0.5153 GB, free: 40.18 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.0004521/0.5332, allocations: 335.6 kB / 0.5156 GB, free: 39.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.5333, allocations: 85.62 kB / 0.5157 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009971/0.5343, allocations: 482 kB / 0.5162 GB, free: 39.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.5344, allocations: 10.02 kB / 0.5162 GB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5344, allocations: 0 / 0.5162 GB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5344, allocations: 2.156 kB / 0.5162 GB, free: 39.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.5363, allocations: 1.237 MB / 0.5174 GB, free: 38.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5363, allocations: 2.75 kB / 0.5174 GB, free: 38.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.5367, allocations: 67.67 kB / 0.5175 GB, free: 38.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5367, allocations: 7.25 kB / 0.5175 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.5367, allocations: 13.42 kB / 0.5175 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5367, allocations: 4.203 kB / 0.5175 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5367, allocations: 2.844 kB / 0.5175 GB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.5377, allocations: 0.6523 MB / 0.5181 GB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.5381, allocations: 200.4 kB / 0.5183 GB, free: 38.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.5382, allocations: 9 kB / 0.5183 GB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.5386, allocations: 19.86 kB / 0.5184 GB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/0.5387, allocations: 23.06 kB / 0.5184 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.5388, allocations: 25.77 kB / 0.5184 GB, free: 38.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001055/0.5398, allocations: 0.5945 MB / 0.519 GB, free: 38.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5399, allocations: 1.531 kB / 0.519 GB, free: 38.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001492/0.5414, allocations: 307.8 kB / 0.5193 GB, free: 37.99 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.0007704/0.5421, allocations: 333.6 kB / 0.5196 GB, free: 37.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.5435, allocations: 0.6769 MB / 0.5203 GB, free: 37.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5436, allocations: 1.062 kB / 0.5203 GB, free: 37.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.5438, allocations: 143.9 kB / 0.5204 GB, free: 37.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.5459, allocations: 442.9 kB / 0.5208 GB, free: 37.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.5487, allocations: 1.521 MB / 0.5223 GB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.5493, allocations: 1.002 MB / 0.5233 GB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.5496, allocations: 86.45 kB / 0.5234 GB, free: 35.89 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5496, allocations: 0 / 0.5234 GB, free: 35.89 MB / 382.1 MB Notification: Performance of Templates: time 0.02479/0.5744, allocations: 14.71 MB / 0.5377 GB, free: 25.75 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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