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.001078/0.001078, allocations: 97.56 kB / 16.02 MB, free: 84 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.00188/0.00188, allocations: 172.6 kB / 16.91 MB, free: 6.684 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.538/1.538, allocations: 205.4 MB / 223.1 MB, free: 5.469 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.3628/0.3628, allocations: 43.58 MB / 315 MB, free: 8.934 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.0005705/0.0005706, allocations: 20.61 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2207/0.3467, allocations: 17.54 MB / 461 MB, free: 36.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008606/0.3553, allocations: 7.03 MB / 468 MB, free: 36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.3566, allocations: 23.72 kB / 468 MB, free: 35.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.3575, allocations: 334.9 kB / 468.4 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.3591, allocations: 0.6372 MB / 469 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.3635, allocations: 1.218 MB / 470.2 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.3677, allocations: 3.576 MB / 473.8 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008847/0.3686, allocations: 0.5731 MB / 474.4 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.3701, allocations: 0.9156 MB / 475.3 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008519/0.371, allocations: 0.792 MB / 476.1 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.3711, allocations: 47.25 kB / 476.1 MB, free: 34.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.3723, allocations: 0.5435 MB / 476.7 MB, free: 34.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002539/0.3726, allocations: 326.4 kB / 477 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.373, allocations: 0.5027 MB / 477.5 MB, free: 34.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.3746, allocations: 1.477 MB / 479 MB, free: 33.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3746, allocations: 0 / 479 MB, free: 33.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3746, allocations: 0 / 479 MB, free: 33.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3746, allocations: 0 / 479 MB, free: 33.65 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.001954/0.3766, allocations: 1.108 MB / 480.1 MB, free: 32.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3766, allocations: 13.28 kB / 480.1 MB, free: 32.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.377, allocations: 117 kB / 480.2 MB, free: 32.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006937/0.3777, allocations: 0.5915 MB / 480.8 MB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.3779, allocations: 245.5 kB / 481 MB, free: 32.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.378, allocations: 88.75 kB / 481.1 MB, free: 32.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.3795, allocations: 1.31 MB / 482.4 MB, free: 31.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.3796, allocations: 7.344 kB / 482.4 MB, free: 31.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3797, allocations: 40.88 kB / 482.5 MB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.3797, allocations: 37.47 kB / 482.5 MB, free: 31.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.381, allocations: 0.9693 MB / 483.5 MB, free: 31.13 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.004808/0.3858, allocations: 7.086 MB / 490.6 MB, free: 25.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.3863, allocations: 311.2 kB / 490.9 MB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3865, allocations: 176.8 kB / 491 MB, free: 25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.3883, allocations: 2.829 MB / 493.9 MB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3884, allocations: 37.83 kB / 493.9 MB, free: 22.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.3884, allocations: 0 / 493.9 MB, free: 22.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001974/0.3904, allocations: 1.112 MB / 495 MB, free: 21.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.3904, allocations: 55.03 kB / 495.1 MB, free: 21.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008996/0.3913, allocations: 0.8725 MB / 496 MB, free: 20.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.3914, allocations: 33.08 kB / 496 MB, free: 20.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.3916, allocations: 0.5698 MB / 496.6 MB, free: 20.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.3917, allocations: 142.9 kB / 496.7 MB, free: 20.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.3918, allocations: 102.9 kB / 496.8 MB, free: 20.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3919, allocations: 399.1 kB / 497.2 MB, free: 19.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.3923, allocations: 245.2 kB / 497.4 MB, free: 19.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.3929, allocations: 0.9628 MB / 498.4 MB, free: 18.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3941, allocations: 1.32 MB / 499.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.3941, allocations: 7.781 kB / 499.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001759/0.3959, allocations: 1.21 MB / 0.4892 GB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.3959, allocations: 17.14 kB / 0.4892 GB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.3959, allocations: 30.25 kB / 0.4892 GB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.663e-05/0.396, allocations: 37.81 kB / 0.4893 GB, free: 17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.3968, allocations: 277.9 kB / 0.4895 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-05/0.3968, allocations: 47.48 kB / 0.4896 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.3976, allocations: 69.12 kB / 0.4896 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-05/0.3977, allocations: 72.12 kB / 0.4897 GB, free: 16.93 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.0003901/0.3981, allocations: 338.2 kB / 0.49 GB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3982, allocations: 87.84 kB / 0.4901 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/0.399, allocations: 488.3 kB / 0.4906 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.399, allocations: 3.875 kB / 0.4906 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3991, allocations: 3.938 kB / 0.4906 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3991, allocations: 2.844 kB / 0.4906 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.4006, allocations: 1.244 MB / 0.4918 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4006, allocations: 1.25 kB / 0.4918 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.4009, allocations: 70.61 kB / 0.4919 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.4009, allocations: 7.141 kB / 0.4919 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.4009, allocations: 11.61 kB / 0.4919 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.4009, allocations: 2.922 kB / 0.4919 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.401, allocations: 7.047 kB / 0.4919 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.4018, allocations: 0.6523 MB / 0.4925 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.402, allocations: 208 kB / 0.4927 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.4021, allocations: 8.062 kB / 0.4927 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004172/0.4025, allocations: 30.83 kB / 0.4928 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.4026, allocations: 22.7 kB / 0.4928 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/0.4027, allocations: 29.64 kB / 0.4928 GB, free: 15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007289/0.4034, allocations: 0.5943 MB / 0.4934 GB, free: 14.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4034, allocations: 1.406 kB / 0.4934 GB, free: 14.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001214/0.4046, allocations: 295.3 kB / 0.4937 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.0006469/0.4053, allocations: 326.5 kB / 0.494 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.4064, allocations: 0.6432 MB / 0.4946 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4064, allocations: 3.406 kB / 0.4946 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.4066, allocations: 141 kB / 0.4948 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.4088, allocations: 406.2 kB / 0.4952 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.411, allocations: 1.835 MB / 0.4969 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.4115, allocations: 0.9938 MB / 0.4979 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.4126, allocations: 320.9 kB / 0.4982 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.4128, allocations: 75.92 kB / 0.4983 GB, free: 12.27 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4128, allocations: 0 / 0.4983 GB, free: 12.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02956/0.4423, allocations: 15.28 MB / 0.5132 GB, free: 6.559 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