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.0008207/0.0008207, allocations: 93.28 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008885/0.0008885, allocations: 207.6 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 246.8 MB, free: 9.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 8 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 63.55 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01921/0.1337, allocations: 17.68 MB / 0.489 GB, free: 2.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009687/0.1434, allocations: 7.04 MB / 0.4959 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.1444, allocations: 27.75 kB / 0.4959 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.1456, allocations: 326.2 kB / 0.4962 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.1474, allocations: 0.6571 MB / 0.4969 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.1509, allocations: 1.206 MB / 0.4981 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004152/0.1551, allocations: 3.594 MB / 0.5016 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.1562, allocations: 0.5875 MB / 0.5021 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.158, allocations: 0.9108 MB / 0.503 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1591, allocations: 0.7862 MB / 0.5038 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.1593, allocations: 48 kB / 0.5038 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.1605, allocations: 0.5459 MB / 0.5044 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003349/0.1609, allocations: 339 kB / 0.5047 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.1615, allocations: 0.4995 MB / 0.5052 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.1632, allocations: 1.496 MB / 0.5066 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1633, allocations: 0 / 0.5066 GB, free: 280 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1633, allocations: 0 / 0.5066 GB, free: 280 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.1633, allocations: 0 / 0.5066 GB, free: 280 kB / 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.2063/0.3696, allocations: 1.088 MB / 0.5077 GB, free: 42.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3697, allocations: 9.75 kB / 0.5077 GB, free: 42.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008577/0.3705, allocations: 121.1 kB / 0.5078 GB, free: 42.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.3719, allocations: 0.5881 MB / 0.5084 GB, free: 42.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.3721, allocations: 249.8 kB / 0.5086 GB, free: 42.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.3724, allocations: 81.67 kB / 0.5087 GB, free: 42.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.3748, allocations: 1.3 MB / 0.51 GB, free: 41.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.3748, allocations: 11.91 kB / 0.51 GB, free: 41.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.375, allocations: 39.3 kB / 0.51 GB, free: 41.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.5e-05/0.3751, allocations: 42.8 kB / 0.5101 GB, free: 41.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.377, allocations: 0.9666 MB / 0.511 GB, free: 41.53 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.006197/0.3832, allocations: 7.081 MB / 0.5179 GB, free: 35.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.3838, allocations: 317.5 kB / 0.5182 GB, free: 35.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.3842, allocations: 174 kB / 0.5184 GB, free: 35.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002866/0.387, allocations: 2.82 MB / 0.5212 GB, free: 32.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3871, allocations: 46.56 kB / 0.5212 GB, free: 32.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.026e-06/0.3871, allocations: 0 / 0.5212 GB, free: 32.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002692/0.3898, allocations: 1.118 MB / 0.5223 GB, free: 31.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.3899, allocations: 54.66 kB / 0.5224 GB, free: 31.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.3911, allocations: 0.8667 MB / 0.5232 GB, free: 31.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.3912, allocations: 32.2 kB / 0.5232 GB, free: 31.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.3915, allocations: 0.5709 MB / 0.5238 GB, free: 30.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3917, allocations: 141.4 kB / 0.5239 GB, free: 30.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.3918, allocations: 106.1 kB / 0.524 GB, free: 30.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3919, allocations: 394.9 kB / 0.5244 GB, free: 30.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.3923, allocations: 243.9 kB / 0.5246 GB, free: 30.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006801/0.393, allocations: 0.9686 MB / 0.5256 GB, free: 29.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.3942, allocations: 1.322 MB / 0.5269 GB, free: 28.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.721e-05/0.3943, allocations: 8.469 kB / 0.5269 GB, free: 28.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00195/0.3962, allocations: 1.215 MB / 0.5281 GB, free: 27.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.3963, allocations: 15.75 kB / 0.5281 GB, free: 27.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/0.3963, allocations: 30.44 kB / 0.5281 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.728e-05/0.3963, allocations: 34.75 kB / 0.5281 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/0.3971, allocations: 277.3 kB / 0.5284 GB, free: 27.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.38e-05/0.3972, allocations: 52.62 kB / 0.5285 GB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.398, allocations: 77.2 kB / 0.5285 GB, free: 27.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.3981, allocations: 72.95 kB / 0.5286 GB, free: 27.44 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.0003708/0.3985, allocations: 331.6 kB / 0.5289 GB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3986, allocations: 86.64 kB / 0.529 GB, free: 27.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008252/0.3994, allocations: 493.2 kB / 0.5295 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3994, allocations: 4.297 kB / 0.5295 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3994, allocations: 0 / 0.5295 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.3995, allocations: 6.922 kB / 0.5295 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.401, allocations: 1.243 MB / 0.5307 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.401, allocations: 2.219 kB / 0.5307 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4013, allocations: 74.45 kB / 0.5308 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4013, allocations: 4.812 kB / 0.5308 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.4014, allocations: 14 kB / 0.5308 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4014, allocations: 3.094 kB / 0.5308 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.4014, allocations: 6.031 kB / 0.5308 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008063/0.4022, allocations: 0.6364 MB / 0.5314 GB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.4025, allocations: 210.7 kB / 0.5316 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.4026, allocations: 13.31 kB / 0.5316 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.403, allocations: 32 kB / 0.5317 GB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.403, allocations: 26.64 kB / 0.5317 GB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.4031, allocations: 25.61 kB / 0.5317 GB, free: 25.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006782/0.4038, allocations: 0.5969 MB / 0.5323 GB, free: 25.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4038, allocations: 0 / 0.5323 GB, free: 25.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001122/0.4049, allocations: 293.5 kB / 0.5326 GB, free: 25.25 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.0006044/0.4055, allocations: 333.4 kB / 0.5329 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009813/0.4065, allocations: 0.6387 MB / 0.5335 GB, free: 24.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.4065, allocations: 5.281 kB / 0.5335 GB, free: 24.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.4068, allocations: 141.4 kB / 0.5337 GB, free: 24.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.4089, allocations: 404.6 kB / 0.534 GB, free: 24.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.411, allocations: 1.837 MB / 0.5358 GB, free: 23.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.4114, allocations: 0.9941 MB / 0.5368 GB, free: 22.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.4124, allocations: 320.2 kB / 0.5371 GB, free: 22.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4126, allocations: 77.3 kB / 0.5372 GB, free: 22.32 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4126, allocations: 4 kB / 0.5372 GB, free: 22.32 MB / 382.1 MB Notification: Performance of Templates: time 0.02194/0.4345, allocations: 15.33 MB / 0.5522 GB, free: 8.789 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