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.001188/0.001188, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3628, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.018/0.3808, allocations: 17.75 MB / 0.5483 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008895/0.3898, allocations: 7.01 MB / 0.5552 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/0.3906, allocations: 19.88 kB / 0.5552 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009635/0.3916, allocations: 377.6 kB / 0.5555 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.3931, allocations: 0.6722 MB / 0.5562 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.3964, allocations: 1.339 MB / 0.5575 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003242/0.3997, allocations: 2.513 MB / 0.56 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.4008, allocations: 0.6817 MB / 0.5606 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.4026, allocations: 1.047 MB / 0.5616 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009878/0.4036, allocations: 0.7551 MB / 0.5624 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.4038, allocations: 88 kB / 0.5625 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.4051, allocations: 0.5343 MB / 0.563 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.4054, allocations: 375 kB / 0.5633 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004978/0.4059, allocations: 0.5135 MB / 0.5639 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.4077, allocations: 1.536 MB / 0.5654 GB, free: 14.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4077, allocations: 0 / 0.5654 GB, free: 14.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4077, allocations: 3.938 kB / 0.5654 GB, free: 14.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.4077, allocations: 0 / 0.5654 GB, free: 14.44 MB / 430.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.002265/0.41, allocations: 1.287 MB / 0.5666 GB, free: 13.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.41, allocations: 12.03 kB / 0.5666 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.4105, allocations: 119.8 kB / 0.5667 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000883/0.4114, allocations: 0.6183 MB / 0.5673 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.4116, allocations: 248.8 kB / 0.5676 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.4117, allocations: 84.3 kB / 0.5677 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.4136, allocations: 1.301 MB / 0.5689 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.4136, allocations: 7.938 kB / 0.5689 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4137, allocations: 43.98 kB / 0.569 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/0.4138, allocations: 45.23 kB / 0.569 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.4153, allocations: 0.961 MB / 0.57 GB, free: 9.461 MB / 430.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.007669/0.423, allocations: 7.079 MB / 0.5769 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.4237, allocations: 320.3 kB / 0.5772 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.424, allocations: 173.4 kB / 0.5773 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003275/0.4272, allocations: 2.822 MB / 0.5801 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4273, allocations: 38.8 kB / 0.5801 GB, free: 14.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.4273, allocations: 4 kB / 0.5801 GB, free: 14.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002417/0.4297, allocations: 1.111 MB / 0.5812 GB, free: 12.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4298, allocations: 55.41 kB / 0.5813 GB, free: 12.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.4308, allocations: 0.868 MB / 0.5821 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.4308, allocations: 33.7 kB / 0.5822 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.4312, allocations: 0.5666 MB / 0.5827 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.4313, allocations: 134.3 kB / 0.5828 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.4316, allocations: 238.5 kB / 0.5831 GB, free: 10.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4318, allocations: 402.7 kB / 0.5835 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.4321, allocations: 250.5 kB / 0.5837 GB, free: 10.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008778/0.433, allocations: 0.9621 MB / 0.5846 GB, free: 8.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.4345, allocations: 1.316 MB / 0.5859 GB, free: 7.301 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.4345, allocations: 11.94 kB / 0.5859 GB, free: 7.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001712/0.4362, allocations: 1.208 MB / 0.5871 GB, free: 6.074 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4362, allocations: 16 kB / 0.5871 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.4363, allocations: 28 kB / 0.5871 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/0.4363, allocations: 32 kB / 0.5872 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.4371, allocations: 279.4 kB / 0.5874 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.444e-05/0.4371, allocations: 55.83 kB / 0.5875 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.4377, allocations: 51.91 kB / 0.5875 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.36e-05/0.4378, allocations: 76 kB / 0.5876 GB, free: 5.547 MB / 446.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.0003611/0.4382, allocations: 341.1 kB / 0.5879 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.4383, allocations: 86.97 kB / 0.588 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008168/0.4392, allocations: 469.9 kB / 0.5885 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4392, allocations: 7.984 kB / 0.5885 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4392, allocations: 4 kB / 0.5885 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4392, allocations: 4 kB / 0.5885 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.4409, allocations: 1.243 MB / 0.5897 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4409, allocations: 8.188 kB / 0.5897 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.4412, allocations: 71.84 kB / 0.5898 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4412, allocations: 4 kB / 0.5898 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.4412, allocations: 11.98 kB / 0.5898 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.4412, allocations: 4 kB / 0.5898 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4413, allocations: 0 / 0.5898 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.4421, allocations: 0.6484 MB / 0.5904 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.4424, allocations: 204 kB / 0.5906 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4425, allocations: 8 kB / 0.5906 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.4429, allocations: 12 kB / 0.5906 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.4429, allocations: 28.03 kB / 0.5907 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.443, allocations: 27.97 kB / 0.5907 GB, free: 2.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006946/0.4437, allocations: 0.593 MB / 0.5913 GB, free: 1.598 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4437, allocations: 0 / 0.5913 GB, free: 1.598 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00105/0.4448, allocations: 295.9 kB / 0.5916 GB, free: 1.309 MB / 446.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.0007313/0.4455, allocations: 350.9 kB / 0.5919 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009962/0.4465, allocations: 0.6347 MB / 0.5925 GB, free: 348 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4465, allocations: 4 kB / 0.5925 GB, free: 344 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.4468, allocations: 148 kB / 0.5927 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.4486, allocations: 415.8 kB / 0.5931 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4508, allocations: 1.482 MB / 0.5945 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.4514, allocations: 0.9971 MB / 0.5955 GB, free: 13.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000831/0.4522, allocations: 317.8 kB / 0.5958 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.4524, allocations: 79.42 kB / 0.5959 GB, free: 12.85 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4524, allocations: 0 / 0.5959 GB, free: 12.85 MB / 462.1 MB Notification: Performance of Templates: time 0.02638/0.4788, allocations: 16.21 MB / 0.6117 GB, free: 12.76 MB / 478.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches