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.001138/0.001138, allocations: 96.67 kB / 16.98 MB, free: 5.938 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.00112/0.00112, allocations: 188.3 kB / 17.88 MB, free: 5.594 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.36/1.36, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2074/0.2074, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 8 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1161, allocations: 61.92 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01419/0.1303, allocations: 15.1 MB / 486.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.1381, allocations: 6.074 MB / 492.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008509/0.139, allocations: 23.81 kB / 492.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009438/0.14, allocations: 314.4 kB / 493 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.1415, allocations: 0.5395 MB / 493.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.1448, allocations: 1.053 MB / 494.5 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.147, allocations: 1.436 MB / 496 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/0.1479, allocations: 0.5557 MB / 496.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.1495, allocations: 0.7946 MB / 497.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006674/0.1502, allocations: 490.3 kB / 497.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.1503, allocations: 51.98 kB / 497.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.1515, allocations: 367.6 kB / 498.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.1519, allocations: 311.2 kB / 498.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.1521, allocations: 201.3 kB / 498.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.1534, allocations: 1.064 MB / 499.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1534, allocations: 0 / 499.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1534, allocations: 0 / 499.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1534, allocations: 0 / 499.8 MB, free: 1.289 MB / 366.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.002249/0.1557, allocations: 1.099 MB / 0.4891 GB, free: 144 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1557, allocations: 8.031 kB / 0.4892 GB, free: 136 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.1562, allocations: 122.9 kB / 0.4893 GB, free: 12 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1572, allocations: 0.5784 MB / 0.4898 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.1574, allocations: 248.2 kB / 0.4901 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1575, allocations: 75.98 kB / 0.4901 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.1594, allocations: 1.297 MB / 0.4914 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.1594, allocations: 7.938 kB / 0.4914 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.1595, allocations: 43.92 kB / 0.4915 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.1596, allocations: 41.3 kB / 0.4915 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.161, allocations: 0.9649 MB / 0.4924 GB, free: 12.55 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.006819/0.1678, allocations: 7.086 MB / 0.4994 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.1684, allocations: 316.1 kB / 0.4997 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002651/0.1711, allocations: 2.822 MB / 0.5024 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1711, allocations: 38.8 kB / 0.5025 GB, free: 1.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.1711, allocations: 0 / 0.5025 GB, free: 1.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002198/0.1733, allocations: 1.113 MB / 0.5035 GB, free: 144 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.1734, allocations: 59.39 kB / 0.5036 GB, free: 72 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2194/0.3928, allocations: 0.8569 MB / 0.5044 GB, free: 50.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.3929, allocations: 36.69 kB / 0.5045 GB, free: 50.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.3933, allocations: 0.5669 MB / 0.505 GB, free: 50.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.3934, allocations: 137.1 kB / 0.5052 GB, free: 50.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.3934, allocations: 24.66 kB / 0.5052 GB, free: 50.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3936, allocations: 395.4 kB / 0.5056 GB, free: 49.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.3941, allocations: 241.9 kB / 0.5058 GB, free: 49.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/0.3949, allocations: 0.9596 MB / 0.5067 GB, free: 48.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.3956, allocations: 435.4 kB / 0.5071 GB, free: 48.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.3956, allocations: 10.06 kB / 0.5072 GB, free: 48.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001867/0.3975, allocations: 1.205 MB / 0.5083 GB, free: 48.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.3975, allocations: 17.81 kB / 0.5083 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/0.3976, allocations: 25.88 kB / 0.5084 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.853e-05/0.3976, allocations: 38.19 kB / 0.5084 GB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.3985, allocations: 277.8 kB / 0.5087 GB, free: 48.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.574e-05/0.3985, allocations: 51.48 kB / 0.5087 GB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/0.3994, allocations: 68.53 kB / 0.5088 GB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.3995, allocations: 80.59 kB / 0.5089 GB, free: 48.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004156/0.3999, allocations: 331.4 kB / 0.5092 GB, free: 48.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4, allocations: 90.34 kB / 0.5093 GB, free: 48.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000876/0.4009, allocations: 474.9 kB / 0.5097 GB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.4009, allocations: 7.859 kB / 0.5097 GB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.401, allocations: 1.844 kB / 0.5097 GB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.401, allocations: 5.219 kB / 0.5097 GB, free: 47.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.4027, allocations: 1.247 MB / 0.5109 GB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.4027, allocations: 3.75 kB / 0.511 GB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.4031, allocations: 65.94 kB / 0.511 GB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/0.4031, allocations: 4.719 kB / 0.511 GB, free: 47.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.4031, allocations: 12.3 kB / 0.511 GB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/0.4031, allocations: 5.172 kB / 0.511 GB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4031, allocations: 1.094 kB / 0.511 GB, free: 47.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.4041, allocations: 0.7202 MB / 0.5117 GB, free: 46.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.4045, allocations: 211.4 kB / 0.5119 GB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4046, allocations: 8.453 kB / 0.512 GB, free: 46.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004219/0.405, allocations: 30.97 kB / 0.512 GB, free: 46.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.4051, allocations: 23.41 kB / 0.512 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.4051, allocations: 28.2 kB / 0.512 GB, free: 46.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007987/0.4059, allocations: 0.5853 MB / 0.5126 GB, free: 46.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.32e-07/0.406, allocations: 0 / 0.5126 GB, free: 46.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001235/0.4072, allocations: 301.7 kB / 0.5129 GB, free: 46.12 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 (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.0005752/0.4078, allocations: 310.2 kB / 0.5132 GB, free: 45.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.4089, allocations: 0.6316 MB / 0.5138 GB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4089, allocations: 1.312 kB / 0.5138 GB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.4091, allocations: 142.8 kB / 0.5139 GB, free: 45.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.4108, allocations: 377.3 kB / 0.5143 GB, free: 45.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.4133, allocations: 1.751 MB / 0.516 GB, free: 44.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.4138, allocations: 1.022 MB / 0.517 GB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001067/0.4149, allocations: 317.2 kB / 0.5173 GB, free: 43.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.415, allocations: 76.47 kB / 0.5174 GB, free: 43.83 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.415, allocations: 1.422 kB / 0.5174 GB, free: 43.83 MB / 382.1 MB Notification: Performance of Templates: time 0.02195/0.437, allocations: 14.58 MB / 0.5316 GB, free: 35.23 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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches