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.001395/0.001395, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0014/0.0014, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.12 MB / 344.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 71.09 kB / 417.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1117, allocations: 62.47 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02028/0.132, allocations: 17.73 MB / 497.9 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009232/0.1413, allocations: 7.015 MB / 0.493 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000628/0.1419, allocations: 19.88 kB / 0.4931 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009915/0.143, allocations: 377.6 kB / 0.4934 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1444, allocations: 0.68 MB / 0.4941 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.1476, allocations: 1.326 MB / 0.4954 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002698/0.1503, allocations: 2.506 MB / 0.4978 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009132/0.1513, allocations: 0.6821 MB / 0.4985 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.153, allocations: 1.036 MB / 0.4995 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.154, allocations: 0.7512 MB / 0.5002 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.1542, allocations: 88 kB / 0.5003 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1554, allocations: 0.5655 MB / 0.5009 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003915/0.1558, allocations: 367.1 kB / 0.5012 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005787/0.1564, allocations: 0.5173 MB / 0.5017 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.1584, allocations: 1.601 MB / 0.5033 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1584, allocations: 0 / 0.5033 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1584, allocations: 0 / 0.5033 GB, free: 1.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1584, allocations: 0 / 0.5033 GB, free: 1.801 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.002592/0.161, allocations: 1.29 MB / 0.5045 GB, free: 472 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1611, allocations: 8.031 kB / 0.5046 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/0.1616, allocations: 123.8 kB / 0.5047 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2122/0.3738, allocations: 0.5878 MB / 0.5052 GB, free: 43.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.3741, allocations: 251.4 kB / 0.5055 GB, free: 43.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.3743, allocations: 80.25 kB / 0.5056 GB, free: 43.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.3771, allocations: 1.307 MB / 0.5068 GB, free: 42.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/0.3772, allocations: 6.281 kB / 0.5068 GB, free: 42.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.3774, allocations: 39.97 kB / 0.5069 GB, free: 42.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.092e-05/0.3775, allocations: 49.56 kB / 0.5069 GB, free: 42.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.38, allocations: 0.9646 MB / 0.5079 GB, free: 42.45 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.008855/0.3888, allocations: 7.087 MB / 0.5148 GB, free: 36.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.3896, allocations: 310.9 kB / 0.5151 GB, free: 36.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.39, allocations: 172.5 kB / 0.5153 GB, free: 36.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002608/0.3926, allocations: 2.825 MB / 0.518 GB, free: 33.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.3927, allocations: 38.95 kB / 0.518 GB, free: 33.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/0.3927, allocations: 0 / 0.518 GB, free: 33.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003085/0.3958, allocations: 1.114 MB / 0.5191 GB, free: 32.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.3958, allocations: 54.72 kB / 0.5192 GB, free: 32.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/0.3973, allocations: 0.8708 MB / 0.52 GB, free: 32.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.3974, allocations: 36.73 kB / 0.5201 GB, free: 32.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.3978, allocations: 0.5676 MB / 0.5206 GB, free: 31.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.3979, allocations: 138.8 kB / 0.5208 GB, free: 31.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.3983, allocations: 238.5 kB / 0.521 GB, free: 31.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3984, allocations: 395.5 kB / 0.5214 GB, free: 31.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.399, allocations: 245.3 kB / 0.5216 GB, free: 31.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009259/0.4, allocations: 0.9629 MB / 0.5225 GB, free: 30.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4015, allocations: 1.323 MB / 0.5238 GB, free: 28.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-05/0.4016, allocations: 8.5 kB / 0.5238 GB, free: 28.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002943/0.4045, allocations: 1.22 MB / 0.525 GB, free: 28.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.4046, allocations: 15.91 kB / 0.525 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/0.4046, allocations: 26.59 kB / 0.5251 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.97e-05/0.4047, allocations: 34.03 kB / 0.5251 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.4059, allocations: 281.6 kB / 0.5254 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.509e-05/0.406, allocations: 54.08 kB / 0.5254 GB, free: 28.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4072, allocations: 49.92 kB / 0.5255 GB, free: 28.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.4073, allocations: 72.19 kB / 0.5255 GB, free: 28.36 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.0006252/0.408, allocations: 330.4 kB / 0.5259 GB, free: 28.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.4082, allocations: 93.95 kB / 0.5259 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.4095, allocations: 488.1 kB / 0.5264 GB, free: 27.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.4096, allocations: 4.438 kB / 0.5264 GB, free: 27.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4096, allocations: 0 / 0.5264 GB, free: 27.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4096, allocations: 1.453 kB / 0.5264 GB, free: 27.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.4122, allocations: 1.247 MB / 0.5276 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.4122, allocations: 6.891 kB / 0.5276 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.4127, allocations: 65.92 kB / 0.5277 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.4127, allocations: 3.281 kB / 0.5277 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.4128, allocations: 13.83 kB / 0.5277 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.4128, allocations: 3.312 kB / 0.5277 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4128, allocations: 6.141 kB / 0.5277 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.4141, allocations: 0.6406 MB / 0.5284 GB, free: 26.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.4145, allocations: 205.5 kB / 0.5286 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.4146, allocations: 12.69 kB / 0.5286 GB, free: 26.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.4152, allocations: 16.12 kB / 0.5286 GB, free: 26.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.4153, allocations: 30.3 kB / 0.5286 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.4154, allocations: 25.22 kB / 0.5286 GB, free: 26.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001049/0.4164, allocations: 0.5938 MB / 0.5292 GB, free: 26.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4165, allocations: 0 / 0.5292 GB, free: 26.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001898/0.4184, allocations: 302.3 kB / 0.5295 GB, free: 26.16 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.0008947/0.4193, allocations: 319.7 kB / 0.5298 GB, free: 26.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.4211, allocations: 0.6671 MB / 0.5305 GB, free: 25.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.4211, allocations: 1.656 kB / 0.5305 GB, free: 25.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.4215, allocations: 149.8 kB / 0.5306 GB, free: 25.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/0.4248, allocations: 431.7 kB / 0.531 GB, free: 25.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.4281, allocations: 1.483 MB / 0.5325 GB, free: 24.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.4287, allocations: 1.005 MB / 0.5334 GB, free: 23.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00182/0.4306, allocations: 317.5 kB / 0.5337 GB, free: 23.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.4308, allocations: 77.3 kB / 0.5338 GB, free: 23.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4309, allocations: 0 / 0.5338 GB, free: 23.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02465/0.4555, allocations: 16 MB / 0.5494 GB, free: 10.17 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 -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