Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 121 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 208.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.75 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1221, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01669/0.1388, allocations: 17.74 MB / 499.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008308/0.1472, allocations: 7.015 MB / 0.4944 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008501/0.1481, allocations: 23.88 kB / 0.4944 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.1492, allocations: 377.6 kB / 0.4947 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.1509, allocations: 0.6722 MB / 0.4954 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.1542, allocations: 1.319 MB / 0.4967 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.1568, allocations: 2.513 MB / 0.4991 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009519/0.1578, allocations: 0.6857 MB / 0.4998 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.1597, allocations: 1.04 MB / 0.5008 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009742/0.1607, allocations: 0.7473 MB / 0.5016 GB, free: 4.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.1608, allocations: 88 kB / 0.5016 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.162, allocations: 0.5382 MB / 0.5022 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.1623, allocations: 379 kB / 0.5025 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.1628, allocations: 0.5056 MB / 0.503 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1646, allocations: 1.539 MB / 0.5045 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1646, allocations: 0 / 0.5045 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1646, allocations: 0 / 0.5045 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.1647, allocations: 4 kB / 0.5045 GB, free: 1.262 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.1922/0.3569, allocations: 1.282 MB / 0.5058 GB, free: 43.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3569, allocations: 9.688 kB / 0.5058 GB, free: 43.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.3576, allocations: 121.4 kB / 0.5059 GB, free: 43.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.3588, allocations: 0.6153 MB / 0.5065 GB, free: 43.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.359, allocations: 252.8 kB / 0.5067 GB, free: 43.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.3592, allocations: 80.06 kB / 0.5068 GB, free: 43.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.3611, allocations: 1.309 MB / 0.5081 GB, free: 42.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.3612, allocations: 16.03 kB / 0.5081 GB, free: 42.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/0.3613, allocations: 35.12 kB / 0.5082 GB, free: 42.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.3613, allocations: 44.83 kB / 0.5082 GB, free: 42.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.3629, allocations: 0.9645 MB / 0.5091 GB, free: 42.25 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.005737/0.3686, allocations: 7.069 MB / 0.516 GB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.3691, allocations: 317 kB / 0.5163 GB, free: 36.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.3694, allocations: 173.6 kB / 0.5165 GB, free: 36.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/0.3714, allocations: 2.813 MB / 0.5193 GB, free: 33.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.3714, allocations: 44.09 kB / 0.5193 GB, free: 33.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.3714, allocations: 0 / 0.5193 GB, free: 33.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002159/0.3736, allocations: 1.117 MB / 0.5204 GB, free: 32.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3736, allocations: 53.19 kB / 0.5204 GB, free: 32.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.3746, allocations: 0.8687 MB / 0.5213 GB, free: 32.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.3747, allocations: 33.83 kB / 0.5213 GB, free: 32.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.375, allocations: 0.5723 MB / 0.5219 GB, free: 31.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/0.3751, allocations: 141 kB / 0.522 GB, free: 31.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.3753, allocations: 239.2 kB / 0.5222 GB, free: 31.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3754, allocations: 394.1 kB / 0.5226 GB, free: 31.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.3758, allocations: 247.5 kB / 0.5229 GB, free: 31.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.3765, allocations: 0.965 MB / 0.5238 GB, free: 29.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3776, allocations: 1.324 MB / 0.5251 GB, free: 28.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.3776, allocations: 6.969 kB / 0.5251 GB, free: 28.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001978/0.3796, allocations: 1.207 MB / 0.5263 GB, free: 28.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.3797, allocations: 17.03 kB / 0.5263 GB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/0.3797, allocations: 26.31 kB / 0.5263 GB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.401e-05/0.3798, allocations: 34.75 kB / 0.5263 GB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.3805, allocations: 281.8 kB / 0.5266 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.964e-05/0.3806, allocations: 47.33 kB / 0.5267 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/0.3813, allocations: 47.02 kB / 0.5267 GB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.3814, allocations: 81 kB / 0.5268 GB, free: 28.14 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.0004855/0.3819, allocations: 334.1 kB / 0.5271 GB, free: 27.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.3821, allocations: 87.81 kB / 0.5272 GB, free: 27.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009294/0.383, allocations: 486.5 kB / 0.5277 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.383, allocations: 3.844 kB / 0.5277 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.383, allocations: 1.594 kB / 0.5277 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3831, allocations: 5.719 kB / 0.5277 GB, free: 27.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.3849, allocations: 1.256 MB / 0.5289 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.3849, allocations: 2.062 kB / 0.5289 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.3852, allocations: 65.78 kB / 0.529 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3852, allocations: 3.875 kB / 0.529 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.3852, allocations: 13.89 kB / 0.529 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3853, allocations: 3.5 kB / 0.529 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3853, allocations: 1.281 kB / 0.529 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008281/0.3861, allocations: 0.6455 MB / 0.5296 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.3864, allocations: 205.4 kB / 0.5298 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/0.3865, allocations: 12.25 kB / 0.5298 GB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.3869, allocations: 19.84 kB / 0.5298 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.3869, allocations: 23.19 kB / 0.5299 GB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.387, allocations: 26.73 kB / 0.5299 GB, free: 26.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006828/0.3877, allocations: 0.5946 MB / 0.5305 GB, free: 25.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3877, allocations: 0 / 0.5305 GB, free: 25.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001299/0.389, allocations: 293.5 kB / 0.5307 GB, free: 25.96 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.0007068/0.3897, allocations: 339 kB / 0.5311 GB, free: 25.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.3907, allocations: 0.6449 MB / 0.5317 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3907, allocations: 2.125 kB / 0.5317 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.391, allocations: 142.5 kB / 0.5318 GB, free: 25.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.3929, allocations: 425.2 kB / 0.5322 GB, free: 25.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3957, allocations: 1.469 MB / 0.5337 GB, free: 24.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.3963, allocations: 1.004 MB / 0.5346 GB, free: 23.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.3973, allocations: 324.2 kB / 0.535 GB, free: 23.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.3974, allocations: 77.52 kB / 0.535 GB, free: 23.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.3974, allocations: 0 / 0.535 GB, free: 23.51 MB / 382.1 MB Notification: Performance of Templates: time 0.02095/0.4184, allocations: 15.93 MB / 0.5506 GB, free: 9.586 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches