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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 119.2 kB / 17.09 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 193.2 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2045/0.2045, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 72.41 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1115, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02175/0.1333, allocations: 17.62 MB / 0.5057 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1437, allocations: 6.999 MB / 0.5126 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.1448, allocations: 23.88 kB / 0.5126 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.1462, allocations: 381.6 kB / 0.513 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.1482, allocations: 0.6644 MB / 0.5136 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.152, allocations: 1.328 MB / 0.5149 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.1556, allocations: 2.502 MB / 0.5174 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.1569, allocations: 0.674 MB / 0.518 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.1592, allocations: 1.04 MB / 0.519 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.1608, allocations: 0.7511 MB / 0.5198 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003517/0.1612, allocations: 92 kB / 0.5199 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.1629, allocations: 0.5305 MB / 0.5204 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.1634, allocations: 383 kB / 0.5207 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.1645, allocations: 0.5134 MB / 0.5212 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.1672, allocations: 1.535 MB / 0.5227 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1672, allocations: 0 / 0.5227 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1672, allocations: 0 / 0.5227 GB, free: 8.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.995e-05/0.1673, allocations: 0 / 0.5227 GB, free: 8.629 MB / 414.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.003152/0.1705, allocations: 1.283 MB / 0.524 GB, free: 7.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1705, allocations: 8.031 kB / 0.524 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005967/0.1711, allocations: 127.7 kB / 0.5241 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1722, allocations: 0.6184 MB / 0.5247 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.1724, allocations: 252.8 kB / 0.525 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.1726, allocations: 76.38 kB / 0.525 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.1747, allocations: 1.309 MB / 0.5263 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.1748, allocations: 7.938 kB / 0.5263 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.1749, allocations: 39.98 kB / 0.5264 GB, free: 4.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/0.1749, allocations: 41.31 kB / 0.5264 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.1766, allocations: 0.961 MB / 0.5273 GB, free: 3.652 MB / 414.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.2411/0.4177, allocations: 7.073 MB / 0.5342 GB, free: 37.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.4183, allocations: 319.4 kB / 0.5345 GB, free: 37.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.4186, allocations: 172.9 kB / 0.5347 GB, free: 37.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002161/0.4207, allocations: 2.821 MB / 0.5375 GB, free: 35.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4208, allocations: 38.2 kB / 0.5375 GB, free: 35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.4208, allocations: 3.828 kB / 0.5375 GB, free: 35 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002288/0.4231, allocations: 1.113 MB / 0.5386 GB, free: 34.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.4231, allocations: 55.28 kB / 0.5386 GB, free: 34.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.4242, allocations: 0.8714 MB / 0.5395 GB, free: 34.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.4242, allocations: 36.33 kB / 0.5395 GB, free: 34.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.4246, allocations: 0.5683 MB / 0.5401 GB, free: 33.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4247, allocations: 137.7 kB / 0.5402 GB, free: 33.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.425, allocations: 237.7 kB / 0.5404 GB, free: 33.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4252, allocations: 402.4 kB / 0.5408 GB, free: 33.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.4257, allocations: 245 kB / 0.5411 GB, free: 33.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007442/0.4264, allocations: 0.9641 MB / 0.542 GB, free: 32.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4276, allocations: 1.32 MB / 0.5433 GB, free: 31.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.4276, allocations: 7.984 kB / 0.5433 GB, free: 31.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001744/0.4294, allocations: 1.211 MB / 0.5445 GB, free: 31.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.4294, allocations: 15.84 kB / 0.5445 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.4295, allocations: 26.84 kB / 0.5445 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-05/0.4295, allocations: 33.94 kB / 0.5446 GB, free: 31.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007918/0.4303, allocations: 277.2 kB / 0.5448 GB, free: 31.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.193e-05/0.4304, allocations: 51.7 kB / 0.5449 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.4311, allocations: 50.42 kB / 0.5449 GB, free: 31.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/0.4312, allocations: 85.05 kB / 0.545 GB, free: 31.1 MB / 414.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.0004311/0.4317, allocations: 334.2 kB / 0.5453 GB, free: 30.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.4318, allocations: 86.53 kB / 0.5454 GB, free: 30.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008595/0.4327, allocations: 477.2 kB / 0.5459 GB, free: 30.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4327, allocations: 5.781 kB / 0.5459 GB, free: 30.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4327, allocations: 0 / 0.5459 GB, free: 30.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.4328, allocations: 1.031 kB / 0.5459 GB, free: 30.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.4344, allocations: 1.248 MB / 0.5471 GB, free: 29.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.4345, allocations: 1.844 kB / 0.5471 GB, free: 29.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.4347, allocations: 70.22 kB / 0.5472 GB, free: 29.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.4348, allocations: 2.844 kB / 0.5472 GB, free: 29.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.4348, allocations: 12.67 kB / 0.5472 GB, free: 29.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4348, allocations: 3.688 kB / 0.5472 GB, free: 29.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4348, allocations: 1.781 kB / 0.5472 GB, free: 29.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009009/0.4357, allocations: 0.6543 MB / 0.5478 GB, free: 29.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.436, allocations: 198.1 kB / 0.548 GB, free: 29.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4361, allocations: 12.53 kB / 0.548 GB, free: 29.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.4366, allocations: 20.62 kB / 0.548 GB, free: 29.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.4366, allocations: 22.14 kB / 0.5481 GB, free: 29.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/0.4367, allocations: 25.59 kB / 0.5481 GB, free: 29.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008191/0.4375, allocations: 0.5938 MB / 0.5487 GB, free: 28.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4375, allocations: 1.219 kB / 0.5487 GB, free: 28.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001519/0.439, allocations: 294.7 kB / 0.5489 GB, free: 28.93 MB / 414.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.0008634/0.4399, allocations: 341.8 kB / 0.5493 GB, free: 28.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.4411, allocations: 0.6404 MB / 0.5499 GB, free: 28.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4412, allocations: 1.438 kB / 0.5499 GB, free: 28.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.4414, allocations: 143.5 kB / 0.55 GB, free: 28.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.4435, allocations: 423.6 kB / 0.5504 GB, free: 28.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.4462, allocations: 1.525 MB / 0.5519 GB, free: 27.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/0.4468, allocations: 0.9951 MB / 0.5529 GB, free: 26.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.4471, allocations: 88.3 kB / 0.553 GB, free: 26.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4471, allocations: 0 / 0.553 GB, free: 26.84 MB / 414.1 MB Notification: Performance of Templates: time 0.02894/0.476, allocations: 14.86 MB / 0.5675 GB, free: 20.62 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches