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.001098/0.001098, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.482/1.482, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3328/0.3328, allocations: 43.58 MB / 314.6 MB, free: 8.812 MB / 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.0005358/0.0005359, allocations: 12 kB / 384 MB, free: 7.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1205, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2357/0.3562, allocations: 16.61 MB / 459.4 MB, free: 37.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.3638, allocations: 6.637 MB / 466.1 MB, free: 36.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006884/0.3645, allocations: 29.75 kB / 466.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009478/0.3655, allocations: 309 kB / 466.4 MB, free: 36.86 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001629/0.3671, allocations: 0.6788 MB / 467.1 MB, free: 36.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.3702, allocations: 1.043 MB / 468.1 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.3727, allocations: 2.969 MB / 471.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.3735, allocations: 0.5555 MB / 471.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.3747, allocations: 0.8854 MB / 472.5 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000769/0.3755, allocations: 0.7525 MB / 473.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.3756, allocations: 46.94 kB / 473.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000888/0.3765, allocations: 303.8 kB / 473.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.3768, allocations: 323 kB / 473.9 MB, free: 35.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.3769, allocations: 202.2 kB / 474.1 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.3778, allocations: 1.079 MB / 475.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3778, allocations: 0 / 475.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3778, allocations: 0 / 475.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3778, allocations: 0 / 475.2 MB, free: 35.43 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.001669/0.3795, allocations: 1.109 MB / 476.3 MB, free: 34.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3795, allocations: 10.22 kB / 476.3 MB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.38, allocations: 116.8 kB / 476.5 MB, free: 34.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006862/0.3807, allocations: 0.5764 MB / 477 MB, free: 34.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.3808, allocations: 256.7 kB / 477.3 MB, free: 34.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.3809, allocations: 76.25 kB / 477.4 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.3824, allocations: 1.302 MB / 478.7 MB, free: 33.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3825, allocations: 11.12 kB / 478.7 MB, free: 33.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.3826, allocations: 37.7 kB / 478.7 MB, free: 33.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.3826, allocations: 41.2 kB / 478.7 MB, free: 33.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3839, allocations: 0.9608 MB / 479.7 MB, free: 32.97 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.004811/0.3887, allocations: 7.074 MB / 486.8 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.3892, allocations: 311.6 kB / 487.1 MB, free: 26.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3894, allocations: 180.2 kB / 487.3 MB, free: 26.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/0.391, allocations: 2.816 MB / 490.1 MB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3911, allocations: 44.05 kB / 490.1 MB, free: 23.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.3911, allocations: 4 kB / 490.1 MB, free: 23.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001838/0.3929, allocations: 1.109 MB / 491.2 MB, free: 23.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.393, allocations: 58.44 kB / 491.3 MB, free: 23.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/0.3938, allocations: 0.8623 MB / 492.1 MB, free: 22.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3938, allocations: 32.83 kB / 492.2 MB, free: 22.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.3941, allocations: 0.5699 MB / 492.7 MB, free: 22.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/0.3942, allocations: 138.4 kB / 492.9 MB, free: 22.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.3942, allocations: 23.22 kB / 492.9 MB, free: 22.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3944, allocations: 400.1 kB / 493.3 MB, free: 21.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.3947, allocations: 238.1 kB / 493.5 MB, free: 21.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.3953, allocations: 0.9611 MB / 494.5 MB, free: 20.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.3958, allocations: 450.7 kB / 494.9 MB, free: 20.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.3958, allocations: 8.938 kB / 494.9 MB, free: 20.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001498/0.3973, allocations: 1.189 MB / 496.1 MB, free: 20.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.3974, allocations: 17.84 kB / 496.1 MB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.3974, allocations: 24.78 kB / 496.2 MB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.981e-05/0.3974, allocations: 43 kB / 496.2 MB, free: 20.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/0.3982, allocations: 280.3 kB / 496.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-05/0.3983, allocations: 55.14 kB / 496.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006441/0.3989, allocations: 64.16 kB / 496.6 MB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/0.399, allocations: 81.73 kB / 496.7 MB, free: 19.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003698/0.3994, allocations: 333.4 kB / 497 MB, free: 19.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.3995, allocations: 86.91 kB / 497.1 MB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.4003, allocations: 485.3 kB / 497.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.4003, allocations: 3.891 kB / 497.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4004, allocations: 1.062 kB / 497.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4004, allocations: 5.734 kB / 497.6 MB, free: 19.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.4019, allocations: 1.239 MB / 498.8 MB, free: 18.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4019, allocations: 5.969 kB / 498.8 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.4022, allocations: 62.59 kB / 498.9 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.4022, allocations: 3.219 kB / 498.9 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.4022, allocations: 13.89 kB / 498.9 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.4022, allocations: 7.516 kB / 498.9 MB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4023, allocations: 2.812 kB / 498.9 MB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.403, allocations: 0.6496 MB / 499.6 MB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.4033, allocations: 213.6 kB / 499.8 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.4034, allocations: 9.609 kB / 499.8 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.4038, allocations: 22.62 kB / 499.8 MB, free: 18.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.4038, allocations: 23.22 kB / 499.8 MB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.4039, allocations: 28.45 kB / 499.9 MB, free: 18.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007161/0.4046, allocations: 0.5837 MB / 0.4887 GB, free: 17.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4046, allocations: 1.031 kB / 0.4887 GB, free: 17.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001209/0.4058, allocations: 294.4 kB / 0.489 GB, free: 17.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005718/0.4064, allocations: 315.7 kB / 0.4893 GB, free: 17.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.4075, allocations: 0.6406 MB / 0.4899 GB, free: 17.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4075, allocations: 0.8438 kB / 0.4899 GB, free: 17.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.4077, allocations: 144 kB / 0.4901 GB, free: 17.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4094, allocations: 382.6 kB / 0.4904 GB, free: 17.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.4119, allocations: 1.758 MB / 0.4921 GB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.4124, allocations: 0.9986 MB / 0.4931 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00124/0.4137, allocations: 311.2 kB / 0.4934 GB, free: 15.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.4138, allocations: 77 kB / 0.4935 GB, free: 15.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4139, allocations: 3.938 kB / 0.4935 GB, free: 15.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02815/0.442, allocations: 14.59 MB / 0.5077 GB, free: 10.4 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/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