Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001146, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009139/0.0009138, allocations: 97.67 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3299/0.3299, allocations: 43.49 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009648/0.0009649, allocations: 63.91 kB / 429.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1152, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.018/0.1333, allocations: 18.14 MB / 0.4933 GB, free: 10.33 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008314/0.1417, allocations: 7.12 MB / 0.5003 GB, free: 3.184 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.1426, allocations: 23.81 kB / 0.5003 GB, free: 3.16 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.1436, allocations: 334.2 kB / 0.5006 GB, free: 2.832 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.1449, allocations: 0.6531 MB / 0.5012 GB, free: 2.176 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.1481, allocations: 1.204 MB / 0.5024 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.2258/0.3739, allocations: 3.579 MB / 0.5059 GB, free: 37.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.3751, allocations: 0.5864 MB / 0.5065 GB, free: 37.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.377, allocations: 0.924 MB / 0.5074 GB, free: 37.92 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.3782, allocations: 0.7852 MB / 0.5082 GB, free: 37.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.3784, allocations: 49.81 kB / 0.5082 GB, free: 37.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.3798, allocations: 0.5509 MB / 0.5087 GB, free: 37.86 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.3802, allocations: 333.4 kB / 0.5091 GB, free: 37.83 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.3807, allocations: 490.8 kB / 0.5095 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.3822, allocations: 1.505 MB / 0.511 GB, free: 37.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3822, allocations: 0 / 0.511 GB, free: 37.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3823, allocations: 0 / 0.511 GB, free: 37.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.3823, allocations: 0 / 0.511 GB, free: 37.56 MB / 394.7 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.002098/0.3844, allocations: 1.288 MB / 0.5123 GB, free: 36.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3844, allocations: 9.375 kB / 0.5123 GB, free: 36.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.3848, allocations: 121.2 kB / 0.5124 GB, free: 36.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.3859, allocations: 0.5891 MB / 0.513 GB, free: 36.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.3861, allocations: 243.4 kB / 0.5132 GB, free: 36.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.3862, allocations: 84.44 kB / 0.5133 GB, free: 36.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.3879, allocations: 1.305 MB / 0.5145 GB, free: 36.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.3879, allocations: 8.984 kB / 0.5146 GB, free: 36.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.388, allocations: 38.45 kB / 0.5146 GB, free: 36.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/0.3881, allocations: 47.72 kB / 0.5146 GB, free: 36.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.3897, allocations: 0.9644 MB / 0.5156 GB, free: 36 MB / 394.7 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.005182/0.3948, allocations: 7.081 MB / 0.5225 GB, free: 30.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.3953, allocations: 314.1 kB / 0.5228 GB, free: 30.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.3955, allocations: 176.9 kB / 0.523 GB, free: 30.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/0.3974, allocations: 2.823 MB / 0.5257 GB, free: 28.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3975, allocations: 46.77 kB / 0.5258 GB, free: 28.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.784e-06/0.3975, allocations: 0 / 0.5258 GB, free: 28.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001938/0.3994, allocations: 1.103 MB / 0.5268 GB, free: 27.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3995, allocations: 54.59 kB / 0.5269 GB, free: 27.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007785/0.4003, allocations: 0.8746 MB / 0.5277 GB, free: 27.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.4003, allocations: 37.08 kB / 0.5278 GB, free: 27.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.4006, allocations: 0.5688 MB / 0.5283 GB, free: 27.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.4007, allocations: 138.6 kB / 0.5285 GB, free: 26.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.4009, allocations: 240.5 kB / 0.5287 GB, free: 26.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.401, allocations: 400.3 kB / 0.5291 GB, free: 26.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.4014, allocations: 248.8 kB / 0.5293 GB, free: 26.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.4019, allocations: 0.9635 MB / 0.5303 GB, free: 25.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/0.4029, allocations: 1.32 MB / 0.5315 GB, free: 24.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.4029, allocations: 10.47 kB / 0.5316 GB, free: 24.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001413/0.4044, allocations: 1.201 MB / 0.5327 GB, free: 23.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.4044, allocations: 19.58 kB / 0.5328 GB, free: 23.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.4044, allocations: 27.56 kB / 0.5328 GB, free: 23.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/0.4045, allocations: 32 kB / 0.5328 GB, free: 23.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.4052, allocations: 279.5 kB / 0.5331 GB, free: 23.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.664e-05/0.4052, allocations: 52.2 kB / 0.5331 GB, free: 23.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.4059, allocations: 70.98 kB / 0.5332 GB, free: 23.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.4059, allocations: 80.91 kB / 0.5333 GB, free: 23.91 MB / 394.7 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.0003074/0.4063, allocations: 332.1 kB / 0.5336 GB, free: 23.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.4064, allocations: 85.84 kB / 0.5337 GB, free: 23.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.4071, allocations: 481.8 kB / 0.5341 GB, free: 23.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.4071, allocations: 3.094 kB / 0.5341 GB, free: 23.46 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4071, allocations: 0 / 0.5341 GB, free: 23.46 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4071, allocations: 0 / 0.5341 GB, free: 23.46 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.4084, allocations: 1.248 MB / 0.5353 GB, free: 22.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4085, allocations: 3.5 kB / 0.5354 GB, free: 22.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.4087, allocations: 67.42 kB / 0.5354 GB, free: 22.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4088, allocations: 10.59 kB / 0.5354 GB, free: 22.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.4088, allocations: 7.406 kB / 0.5354 GB, free: 22.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4088, allocations: 2.906 kB / 0.5354 GB, free: 22.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4088, allocations: 3.156 kB / 0.5354 GB, free: 22.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003353/0.4122, allocations: 2.95 MB / 0.5383 GB, free: 20.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.4124, allocations: 194.8 kB / 0.5385 GB, free: 20.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.4125, allocations: 13.94 kB / 0.5385 GB, free: 20.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.4129, allocations: 23.55 kB / 0.5385 GB, free: 20.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.4129, allocations: 22.41 kB / 0.5386 GB, free: 20.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.413, allocations: 29.2 kB / 0.5386 GB, free: 20.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006731/0.4137, allocations: 0.5957 MB / 0.5392 GB, free: 20.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4137, allocations: 0 / 0.5392 GB, free: 20.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001453/0.4151, allocations: 400.4 kB / 0.5396 GB, free: 20.22 MB / 394.7 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.0006807/0.4158, allocations: 330.8 kB / 0.5399 GB, free: 20.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008906/0.4167, allocations: 0.6365 MB / 0.5405 GB, free: 19.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4167, allocations: 5.844 kB / 0.5405 GB, free: 19.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.4169, allocations: 144.3 kB / 0.5406 GB, free: 19.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.4187, allocations: 407 kB / 0.541 GB, free: 19.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.4208, allocations: 1.998 MB / 0.543 GB, free: 18.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.4213, allocations: 1.004 MB / 0.544 GB, free: 17.81 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009042/0.4222, allocations: 318.4 kB / 0.5443 GB, free: 17.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.4224, allocations: 79.09 kB / 0.5443 GB, free: 17.75 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.4224, allocations: 0 / 0.5443 GB, free: 17.75 MB / 394.7 MB Notification: Performance of Templates: time 0.02943/0.4518, allocations: 16.05 MB / 0.56 GB, free: 14.46 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches