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.001208/0.001208, allocations: 96.14 kB / 15.87 MB, free: 16 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.001251/0.001251, allocations: 203.5 kB / 16.79 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.51/1.51, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.3562/0.3562, allocations: 43.49 MB / 313.5 MB, free: 8.211 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.001425/0.001424, allocations: 71.89 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1281, allocations: 57.77 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2395/0.3677, allocations: 18.12 MB / 457.9 MB, free: 37.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00749/0.3752, allocations: 7.13 MB / 465.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007335/0.376, allocations: 28.44 kB / 465.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008887/0.3769, allocations: 325.7 kB / 465.4 MB, free: 36.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.3781, allocations: 0.6463 MB / 466.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.381, allocations: 1.211 MB / 467.3 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.3841, allocations: 3.581 MB / 470.9 MB, free: 35.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009601/0.385, allocations: 0.5883 MB / 471.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.3867, allocations: 0.916 MB / 472.4 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008661/0.3876, allocations: 0.7885 MB / 473.1 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3878, allocations: 51.88 kB / 473.2 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.3892, allocations: 0.5405 MB / 473.7 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.3895, allocations: 341.7 kB / 474.1 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.3901, allocations: 486.7 kB / 474.5 MB, free: 34.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.3918, allocations: 1.498 MB / 476 MB, free: 33.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3918, allocations: 3.219 kB / 476.1 MB, free: 33.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.3918, allocations: 0 / 476.1 MB, free: 33.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.3918, allocations: 0 / 476.1 MB, free: 33.79 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.002229/0.394, allocations: 1.296 MB / 477.3 MB, free: 32.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3941, allocations: 9.906 kB / 477.4 MB, free: 32.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.3946, allocations: 118.8 kB / 477.5 MB, free: 32.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007103/0.3953, allocations: 0.582 MB / 478.1 MB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.3954, allocations: 251.4 kB / 478.3 MB, free: 32.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.3955, allocations: 78.3 kB / 478.4 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3971, allocations: 1.313 MB / 479.7 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.3971, allocations: 4.781 kB / 479.7 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/0.3972, allocations: 41.28 kB / 479.7 MB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-05/0.3973, allocations: 42.06 kB / 479.8 MB, free: 31.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3986, allocations: 0.9637 MB / 480.7 MB, free: 31.19 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.005011/0.4036, allocations: 7.078 MB / 487.8 MB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.404, allocations: 318.9 kB / 488.1 MB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.4043, allocations: 172 kB / 488.3 MB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/0.4066, allocations: 2.827 MB / 491.1 MB, free: 22.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4067, allocations: 45.41 kB / 491.2 MB, free: 22.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.313e-06/0.4067, allocations: 0 / 491.2 MB, free: 22.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002298/0.409, allocations: 1.103 MB / 492.3 MB, free: 21.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4091, allocations: 54.41 kB / 492.3 MB, free: 21.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.4105, allocations: 0.8716 MB / 493.2 MB, free: 21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.4105, allocations: 32.64 kB / 493.2 MB, free: 20.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.4109, allocations: 0.5767 MB / 493.8 MB, free: 20.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.411, allocations: 135.5 kB / 493.9 MB, free: 20.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003183/0.4113, allocations: 238 kB / 494.2 MB, free: 20.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4115, allocations: 399.9 kB / 494.6 MB, free: 19.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/0.412, allocations: 246.6 kB / 494.8 MB, free: 19.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.413, allocations: 0.9644 MB / 495.8 MB, free: 18.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.4145, allocations: 1.317 MB / 497.1 MB, free: 17.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.082e-05/0.4146, allocations: 7.594 kB / 497.1 MB, free: 17.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002192/0.4168, allocations: 1.215 MB / 498.3 MB, free: 17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.4168, allocations: 16.34 kB / 498.3 MB, free: 17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.967e-05/0.4169, allocations: 25.75 kB / 498.3 MB, free: 17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.051e-05/0.4169, allocations: 34.77 kB / 498.4 MB, free: 17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000854/0.4178, allocations: 278.4 kB / 498.7 MB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.844e-05/0.4179, allocations: 61.39 kB / 498.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.4187, allocations: 65.64 kB / 498.8 MB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.4188, allocations: 75.73 kB / 498.8 MB, free: 16.91 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.0005374/0.4194, allocations: 337.6 kB / 499.2 MB, free: 16.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.4196, allocations: 91.34 kB / 499.3 MB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/0.4206, allocations: 479.4 kB / 499.7 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4206, allocations: 5.125 kB / 499.7 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4206, allocations: 0 / 499.7 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4206, allocations: 2.344 kB / 499.7 MB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.4225, allocations: 1.237 MB / 0.4892 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4225, allocations: 1.469 kB / 0.4892 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.4228, allocations: 70 kB / 0.4893 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.4228, allocations: 8.844 kB / 0.4893 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.4228, allocations: 9.375 kB / 0.4893 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.4229, allocations: 7.203 kB / 0.4893 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4229, allocations: 2.5 kB / 0.4893 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009941/0.4239, allocations: 0.648 MB / 0.49 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.4242, allocations: 205.4 kB / 0.4902 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.4244, allocations: 12.53 kB / 0.4902 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.4249, allocations: 23.7 kB / 0.4902 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.425, allocations: 23.53 kB / 0.4902 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.425, allocations: 24.94 kB / 0.4902 GB, free: 15.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009475/0.426, allocations: 0.5945 MB / 0.4908 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.426, allocations: 3.938 kB / 0.4908 GB, free: 14.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001429/0.4274, allocations: 300.5 kB / 0.4911 GB, free: 14.7 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.0008443/0.4283, allocations: 338.2 kB / 0.4914 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.4296, allocations: 0.6393 MB / 0.4921 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4296, allocations: 1.5 kB / 0.4921 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.4299, allocations: 148.9 kB / 0.4922 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.432, allocations: 408.3 kB / 0.4926 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.4349, allocations: 1.759 MB / 0.4943 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.4356, allocations: 1.003 MB / 0.4953 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001263/0.4369, allocations: 309.9 kB / 0.4956 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.4371, allocations: 76.27 kB / 0.4957 GB, free: 12.28 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4371, allocations: 0 / 0.4957 GB, free: 12.28 MB / 382.1 MB Notification: Performance of Templates: time 0.0291/0.4662, allocations: 15.34 MB / 0.5106 GB, free: 6.809 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