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.001326/0.001326, allocations: 102.7 kB / 16.41 MB, free: 6.445 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.001423/0.001423, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.316/1.316, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1991/0.1991, allocations: 43.52 MB / 314.1 MB, free: 460 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.00151/0.00151, allocations: 63.89 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1134, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02042/0.1338, allocations: 17.62 MB / 0.5051 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008556/0.1424, allocations: 7.011 MB / 0.5119 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.1433, allocations: 19.88 kB / 0.512 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.1445, allocations: 373.6 kB / 0.5123 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.1463, allocations: 0.6879 MB / 0.513 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003655/0.15, allocations: 1.328 MB / 0.5143 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003387/0.1534, allocations: 2.51 MB / 0.5167 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.1546, allocations: 0.6662 MB / 0.5174 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.1565, allocations: 1.043 MB / 0.5184 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.1579, allocations: 0.7512 MB / 0.5191 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.1582, allocations: 88 kB / 0.5192 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.1597, allocations: 0.5382 MB / 0.5197 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005433/0.1602, allocations: 367.1 kB / 0.5201 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008463/0.1611, allocations: 0.5211 MB / 0.5206 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.1633, allocations: 1.535 MB / 0.5221 GB, free: 8.598 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1633, allocations: 0 / 0.5221 GB, free: 8.598 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1633, allocations: 0 / 0.5221 GB, free: 8.598 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.25e-05/0.1634, allocations: 0 / 0.5221 GB, free: 8.598 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.002652/0.1661, allocations: 1.29 MB / 0.5234 GB, free: 7.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1661, allocations: 8.031 kB / 0.5234 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.1666, allocations: 123.8 kB / 0.5235 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.1676, allocations: 0.6145 MB / 0.5241 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.1678, allocations: 248.8 kB / 0.5243 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.1679, allocations: 84.36 kB / 0.5244 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.1697, allocations: 1.309 MB / 0.5257 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.1697, allocations: 7.938 kB / 0.5257 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.1699, allocations: 40 kB / 0.5257 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-05/0.1699, allocations: 37.25 kB / 0.5258 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.1714, allocations: 0.9611 MB / 0.5267 GB, free: 3.621 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.2433/0.4147, allocations: 7.072 MB / 0.5336 GB, free: 37.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.4153, allocations: 325 kB / 0.5339 GB, free: 37.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.4155, allocations: 171.7 kB / 0.5341 GB, free: 37.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/0.4175, allocations: 2.816 MB / 0.5368 GB, free: 34.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4176, allocations: 42.92 kB / 0.5369 GB, free: 34.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.4176, allocations: 0 / 0.5369 GB, free: 34.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.001996/0.4196, allocations: 1.112 MB / 0.538 GB, free: 34.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.4196, allocations: 58.67 kB / 0.538 GB, free: 34.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009742/0.4206, allocations: 0.8712 MB / 0.5389 GB, free: 34.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.4207, allocations: 33.02 kB / 0.5389 GB, free: 34.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.421, allocations: 0.5681 MB / 0.5394 GB, free: 33.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/0.4211, allocations: 139.2 kB / 0.5396 GB, free: 33.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.4213, allocations: 238.9 kB / 0.5398 GB, free: 33.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4215, allocations: 402.5 kB / 0.5402 GB, free: 33.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.4219, allocations: 245.7 kB / 0.5404 GB, free: 33.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.4226, allocations: 0.9665 MB / 0.5414 GB, free: 32.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.4237, allocations: 1.321 MB / 0.5427 GB, free: 31.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.4237, allocations: 8 kB / 0.5427 GB, free: 31.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001523/0.4252, allocations: 1.211 MB / 0.5439 GB, free: 30.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4253, allocations: 16.06 kB / 0.5439 GB, free: 30.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.4253, allocations: 25.38 kB / 0.5439 GB, free: 30.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-05/0.4254, allocations: 39.08 kB / 0.5439 GB, free: 30.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.4261, allocations: 274.6 kB / 0.5442 GB, free: 30.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.687e-05/0.4262, allocations: 50.75 kB / 0.5442 GB, free: 30.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.4268, allocations: 54.12 kB / 0.5443 GB, free: 30.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.4269, allocations: 82.41 kB / 0.5444 GB, free: 30.89 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.0003383/0.4272, allocations: 336.2 kB / 0.5447 GB, free: 30.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.4273, allocations: 88.08 kB / 0.5448 GB, free: 30.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007596/0.4281, allocations: 476.8 kB / 0.5452 GB, free: 30.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4281, allocations: 7.438 kB / 0.5452 GB, free: 30.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4281, allocations: 0 / 0.5452 GB, free: 30.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4282, allocations: 7.641 kB / 0.5452 GB, free: 30.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.4299, allocations: 1.232 MB / 0.5464 GB, free: 29.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4299, allocations: 5.125 kB / 0.5465 GB, free: 29.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.4302, allocations: 70.55 kB / 0.5465 GB, free: 29.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4302, allocations: 2.781 kB / 0.5465 GB, free: 29.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.4303, allocations: 10.3 kB / 0.5465 GB, free: 29.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.4303, allocations: 6.875 kB / 0.5465 GB, free: 29.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4303, allocations: 2.656 kB / 0.5465 GB, free: 29.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.4313, allocations: 0.651 MB / 0.5472 GB, free: 29.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.4316, allocations: 204.4 kB / 0.5474 GB, free: 29.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.4317, allocations: 8.688 kB / 0.5474 GB, free: 29.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.4321, allocations: 16.64 kB / 0.5474 GB, free: 29.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.4321, allocations: 28.62 kB / 0.5474 GB, free: 29.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.4322, allocations: 23.33 kB / 0.5474 GB, free: 29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008647/0.433, allocations: 0.5952 MB / 0.548 GB, free: 28.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4331, allocations: 0 / 0.548 GB, free: 28.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001583/0.4346, allocations: 294.3 kB / 0.5483 GB, free: 28.72 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.001027/0.4357, allocations: 339.5 kB / 0.5486 GB, free: 28.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.4368, allocations: 0.6369 MB / 0.5493 GB, free: 28.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4368, allocations: 2.5 kB / 0.5493 GB, free: 28.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.437, allocations: 152.9 kB / 0.5494 GB, free: 28.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.4387, allocations: 419.4 kB / 0.5498 GB, free: 28.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.4409, allocations: 1.482 MB / 0.5512 GB, free: 27.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.4414, allocations: 0.9939 MB / 0.5522 GB, free: 26.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008094/0.4422, allocations: 315.7 kB / 0.5525 GB, free: 26.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.4423, allocations: 72.8 kB / 0.5526 GB, free: 26.62 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4423, allocations: 0 / 0.5526 GB, free: 26.62 MB / 414.1 MB Notification: Performance of Templates: time 0.02666/0.469, allocations: 16.16 MB / 0.5684 GB, free: 18.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/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