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.001307/0.001307, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2011/0.2011, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 75.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1187, allocations: 62.45 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01863/0.1373, allocations: 17.74 MB / 499.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008166/0.1455, allocations: 7.012 MB / 0.4943 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007489/0.1464, allocations: 23.88 kB / 0.4944 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.1474, allocations: 385.6 kB / 0.4947 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.1488, allocations: 0.6722 MB / 0.4954 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.1523, allocations: 1.319 MB / 0.4967 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003005/0.1553, allocations: 2.51 MB / 0.4991 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008371/0.1562, allocations: 0.6818 MB / 0.4998 GB, free: 6.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.1577, allocations: 1.04 MB / 0.5008 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008928/0.1586, allocations: 0.7589 MB / 0.5016 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.1588, allocations: 88 kB / 0.5016 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.16, allocations: 0.5305 MB / 0.5022 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.1604, allocations: 371 kB / 0.5025 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005296/0.1609, allocations: 0.5212 MB / 0.503 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.1626, allocations: 1.531 MB / 0.5045 GB, free: 1.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1627, allocations: 8 kB / 0.5045 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1627, allocations: 0 / 0.5045 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1627, allocations: 0 / 0.5045 GB, free: 1.223 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.203/0.3657, allocations: 1.277 MB / 0.5058 GB, free: 43.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3658, allocations: 9.531 kB / 0.5058 GB, free: 43.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006272/0.3664, allocations: 124 kB / 0.5059 GB, free: 43.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.3676, allocations: 0.6156 MB / 0.5065 GB, free: 43.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3678, allocations: 250.5 kB / 0.5067 GB, free: 43.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.3679, allocations: 79.06 kB / 0.5068 GB, free: 43.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.37, allocations: 1.303 MB / 0.5081 GB, free: 42.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.37, allocations: 11.31 kB / 0.5081 GB, free: 42.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.232e-05/0.3701, allocations: 45.61 kB / 0.5081 GB, free: 42.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.3702, allocations: 38.88 kB / 0.5082 GB, free: 42.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.3718, allocations: 0.9654 MB / 0.5091 GB, free: 42.42 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.006093/0.3779, allocations: 7.071 MB / 0.516 GB, free: 36.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.3785, allocations: 308.9 kB / 0.5163 GB, free: 36.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.3787, allocations: 169.9 kB / 0.5165 GB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/0.3808, allocations: 2.831 MB / 0.5192 GB, free: 33.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3808, allocations: 41.42 kB / 0.5193 GB, free: 33.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.3808, allocations: 3 kB / 0.5193 GB, free: 33.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002105/0.3829, allocations: 1.108 MB / 0.5204 GB, free: 32.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.383, allocations: 54.53 kB / 0.5204 GB, free: 32.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.384, allocations: 0.8744 MB / 0.5213 GB, free: 32.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.3841, allocations: 36.45 kB / 0.5213 GB, free: 32.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.3844, allocations: 0.5725 MB / 0.5219 GB, free: 31.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.3845, allocations: 130.5 kB / 0.522 GB, free: 31.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/0.3848, allocations: 242.9 kB / 0.5222 GB, free: 31.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3849, allocations: 394.7 kB / 0.5226 GB, free: 31.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.3853, allocations: 248.3 kB / 0.5228 GB, free: 31.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.3859, allocations: 0.9627 MB / 0.5238 GB, free: 30.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.387, allocations: 1.323 MB / 0.5251 GB, free: 28.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/0.3871, allocations: 7.656 kB / 0.5251 GB, free: 28.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001937/0.389, allocations: 1.208 MB / 0.5263 GB, free: 28.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.389, allocations: 15.89 kB / 0.5263 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-05/0.3891, allocations: 26.59 kB / 0.5263 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.408e-05/0.3891, allocations: 37.7 kB / 0.5263 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008428/0.39, allocations: 278.7 kB / 0.5266 GB, free: 28.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.278e-05/0.3901, allocations: 53.06 kB / 0.5267 GB, free: 28.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007514/0.3908, allocations: 54.44 kB / 0.5267 GB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.391, allocations: 76.47 kB / 0.5268 GB, free: 28.31 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.0004572/0.3914, allocations: 333.6 kB / 0.5271 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.3916, allocations: 88.38 kB / 0.5272 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.3924, allocations: 488.6 kB / 0.5276 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3924, allocations: 4.594 kB / 0.5276 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3924, allocations: 2.5 kB / 0.5277 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3925, allocations: 2.859 kB / 0.5277 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.3941, allocations: 1.244 MB / 0.5289 GB, free: 27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.3941, allocations: 2.188 kB / 0.5289 GB, free: 27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.3944, allocations: 73.55 kB / 0.5289 GB, free: 27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.3944, allocations: 3.438 kB / 0.5289 GB, free: 27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.3945, allocations: 12.69 kB / 0.529 GB, free: 26.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3945, allocations: 6.25 kB / 0.529 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3945, allocations: 2.438 kB / 0.529 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.3953, allocations: 0.6399 MB / 0.5296 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.3956, allocations: 205.6 kB / 0.5298 GB, free: 26.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.3957, allocations: 15.91 kB / 0.5298 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.3961, allocations: 20.09 kB / 0.5298 GB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.3961, allocations: 19.47 kB / 0.5298 GB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.304e-05/0.3962, allocations: 25.38 kB / 0.5299 GB, free: 26.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006833/0.3969, allocations: 0.5947 MB / 0.5304 GB, free: 26.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3969, allocations: 0 / 0.5304 GB, free: 26.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001093/0.398, allocations: 302.8 kB / 0.5307 GB, free: 26.12 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.0006098/0.3986, allocations: 338.7 kB / 0.5311 GB, free: 25.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009845/0.3996, allocations: 0.6424 MB / 0.5317 GB, free: 25.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3996, allocations: 1.156 kB / 0.5317 GB, free: 25.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.3998, allocations: 143.7 kB / 0.5318 GB, free: 25.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.4015, allocations: 442.2 kB / 0.5322 GB, free: 25.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.4033, allocations: 1.464 MB / 0.5337 GB, free: 24.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4037, allocations: 0.9955 MB / 0.5346 GB, free: 23.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007497/0.4045, allocations: 314.9 kB / 0.5349 GB, free: 23.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.4046, allocations: 73.25 kB / 0.535 GB, free: 23.67 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.4046, allocations: 0 / 0.535 GB, free: 23.67 MB / 382.1 MB Notification: Performance of Templates: time 0.01986/0.4245, allocations: 15.94 MB / 0.5506 GB, free: 9.703 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 gbode -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