Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001174/0.001174, allocations: 116 kB / 17.05 MB, free: 6.008 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.001114/0.001114, allocations: 192.5 kB / 17.98 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2116/0.2116, allocations: 43.52 MB / 314.7 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.89 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1144, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01851/0.133, allocations: 17.62 MB / 0.5057 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00908/0.1421, allocations: 7.007 MB / 0.5125 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008396/0.143, allocations: 19.88 kB / 0.5126 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1441, allocations: 377.6 kB / 0.5129 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.1458, allocations: 0.6683 MB / 0.5136 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.1492, allocations: 1.332 MB / 0.5149 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003093/0.1524, allocations: 2.506 MB / 0.5173 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.1534, allocations: 0.6624 MB / 0.518 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.1555, allocations: 1.039 MB / 0.519 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.157, allocations: 0.7551 MB / 0.5197 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002927/0.1573, allocations: 84 kB / 0.5198 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.159, allocations: 0.5382 MB / 0.5203 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000412/0.1594, allocations: 371.1 kB / 0.5207 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006823/0.1601, allocations: 0.5134 MB / 0.5212 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.1622, allocations: 1.535 MB / 0.5227 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1622, allocations: 0 / 0.5227 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1622, allocations: 0 / 0.5227 GB, free: 8.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.1623, allocations: 4 kB / 0.5227 GB, free: 8.68 MB / 414.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.002412/0.1647, allocations: 1.283 MB / 0.5239 GB, free: 7.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1647, allocations: 16.02 kB / 0.5239 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004877/0.1652, allocations: 115.8 kB / 0.5241 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.1662, allocations: 0.6145 MB / 0.5247 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.1664, allocations: 248.8 kB / 0.5249 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1665, allocations: 84.38 kB / 0.525 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.1684, allocations: 1.305 MB / 0.5262 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.1684, allocations: 7.938 kB / 0.5263 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1685, allocations: 40 kB / 0.5263 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/0.1686, allocations: 49.17 kB / 0.5263 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.1701, allocations: 0.9572 MB / 0.5273 GB, free: 3.707 MB / 414.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.2626/0.4327, allocations: 7.077 MB / 0.5342 GB, free: 37.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.4333, allocations: 320 kB / 0.5345 GB, free: 37.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.4336, allocations: 169.1 kB / 0.5347 GB, free: 37.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/0.4356, allocations: 2.819 MB / 0.5374 GB, free: 35.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.4356, allocations: 42.23 kB / 0.5374 GB, free: 35.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.974e-06/0.4356, allocations: 1.188 kB / 0.5374 GB, free: 35.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002823/0.4385, allocations: 1.108 MB / 0.5385 GB, free: 34.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.4385, allocations: 58.61 kB / 0.5386 GB, free: 34.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.44, allocations: 0.8713 MB / 0.5394 GB, free: 34.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.44, allocations: 31.8 kB / 0.5395 GB, free: 34.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.4405, allocations: 0.5709 MB / 0.54 GB, free: 34.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.4406, allocations: 140.7 kB / 0.5402 GB, free: 33.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.4409, allocations: 240.5 kB / 0.5404 GB, free: 33.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4411, allocations: 400.3 kB / 0.5408 GB, free: 33.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/0.4415, allocations: 248.2 kB / 0.541 GB, free: 33.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.4422, allocations: 0.9597 MB / 0.5419 GB, free: 32.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.4434, allocations: 1.32 MB / 0.5432 GB, free: 31.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.4434, allocations: 15.22 kB / 0.5432 GB, free: 31.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001787/0.4452, allocations: 1.212 MB / 0.5444 GB, free: 31.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.4452, allocations: 16.38 kB / 0.5444 GB, free: 31.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/0.4453, allocations: 26.03 kB / 0.5445 GB, free: 31.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.29e-05/0.4453, allocations: 34.59 kB / 0.5445 GB, free: 31.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.4461, allocations: 274.2 kB / 0.5448 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.189e-05/0.4461, allocations: 49.27 kB / 0.5448 GB, free: 31.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.4468, allocations: 57.39 kB / 0.5449 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/0.4469, allocations: 78.81 kB / 0.5449 GB, free: 31.13 MB / 414.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.0003812/0.4473, allocations: 330.2 kB / 0.5453 GB, free: 30.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.4475, allocations: 88.2 kB / 0.5453 GB, free: 30.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000849/0.4483, allocations: 476.3 kB / 0.5458 GB, free: 30.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.4483, allocations: 4.719 kB / 0.5458 GB, free: 30.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4484, allocations: 5.125 kB / 0.5458 GB, free: 30.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4484, allocations: 1.031 kB / 0.5458 GB, free: 30.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.45, allocations: 1.242 MB / 0.547 GB, free: 29.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.45, allocations: 0.8906 kB / 0.547 GB, free: 29.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.4503, allocations: 74.7 kB / 0.5471 GB, free: 29.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4503, allocations: 4.219 kB / 0.5471 GB, free: 29.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.4503, allocations: 8.859 kB / 0.5471 GB, free: 29.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4504, allocations: 4.453 kB / 0.5471 GB, free: 29.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.4504, allocations: 5.281 kB / 0.5471 GB, free: 29.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.4513, allocations: 0.6549 MB / 0.5477 GB, free: 29.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.4515, allocations: 197.4 kB / 0.5479 GB, free: 29.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.4516, allocations: 12.16 kB / 0.5479 GB, free: 29.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.452, allocations: 15.06 kB / 0.548 GB, free: 29.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.4521, allocations: 31.56 kB / 0.548 GB, free: 29.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.4521, allocations: 25.7 kB / 0.548 GB, free: 29.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007534/0.4529, allocations: 0.5942 MB / 0.5486 GB, free: 29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4529, allocations: 0 / 0.5486 GB, free: 29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001561/0.4545, allocations: 295.8 kB / 0.5489 GB, free: 28.96 MB / 414.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.0008074/0.4553, allocations: 345.6 kB / 0.5492 GB, free: 28.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.4564, allocations: 0.6308 MB / 0.5498 GB, free: 28.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4564, allocations: 1.375 kB / 0.5498 GB, free: 28.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.4566, allocations: 150.8 kB / 0.55 GB, free: 28.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.4585, allocations: 420 kB / 0.5504 GB, free: 28.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.4607, allocations: 1.52 MB / 0.5519 GB, free: 27.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.4612, allocations: 0.9966 MB / 0.5528 GB, free: 26.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.4614, allocations: 86.53 kB / 0.5529 GB, free: 26.87 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4614, allocations: 0 / 0.5529 GB, free: 26.87 MB / 414.1 MB Notification: Performance of Templates: time 0.02508/0.4865, allocations: 14.7 MB / 0.5673 GB, free: 20.81 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches