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.001268/0.001268, allocations: 101.1 kB / 15.98 MB, free: 6.355 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.001221/0.001222, allocations: 191.7 kB / 16.9 MB, free: 6.191 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.45/1.45, allocations: 205.1 MB / 222.8 MB, free: 4.727 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.3358/0.3358, allocations: 43.5 MB / 313.6 MB, free: 8.496 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.001374/0.001374, allocations: 71.89 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 57.79 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2369/0.3542, allocations: 18.09 MB / 458.1 MB, free: 37.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007539/0.3618, allocations: 7.056 MB / 465.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.3631, allocations: 26.88 kB / 465.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.3642, allocations: 341.4 kB / 465.5 MB, free: 36.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.366, allocations: 0.6239 MB / 466.1 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.3693, allocations: 1.24 MB / 467.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.3716, allocations: 2.516 MB / 469.9 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007841/0.3724, allocations: 0.6672 MB / 470.6 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.3741, allocations: 1.034 MB / 471.6 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009455/0.3751, allocations: 0.7993 MB / 472.4 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.3752, allocations: 92.09 kB / 472.5 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.3765, allocations: 0.534 MB / 473 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.3768, allocations: 373.4 kB / 473.4 MB, free: 34.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.3773, allocations: 0.5201 MB / 473.9 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.3794, allocations: 1.537 MB / 475.4 MB, free: 33.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3794, allocations: 3.141 kB / 475.4 MB, free: 33.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3794, allocations: 0 / 475.4 MB, free: 33.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.3794, allocations: 3.281 kB / 475.4 MB, free: 33.64 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.002301/0.3817, allocations: 1.287 MB / 476.7 MB, free: 32.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3818, allocations: 10.44 kB / 476.7 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.3822, allocations: 121.1 kB / 476.9 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.383, allocations: 0.5846 MB / 477.4 MB, free: 32.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.3831, allocations: 250.1 kB / 477.7 MB, free: 32.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.3832, allocations: 80.84 kB / 477.8 MB, free: 32.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3848, allocations: 1.313 MB / 479.1 MB, free: 31.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.3849, allocations: 7.219 kB / 479.1 MB, free: 31.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.385, allocations: 44.41 kB / 479.1 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.385, allocations: 35.88 kB / 479.2 MB, free: 31.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.3863, allocations: 0.9693 MB / 480.1 MB, free: 31.04 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.005124/0.3914, allocations: 7.084 MB / 487.2 MB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.392, allocations: 316.8 kB / 487.5 MB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.3922, allocations: 173 kB / 487.7 MB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/0.394, allocations: 2.819 MB / 490.5 MB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3941, allocations: 41.73 kB / 490.6 MB, free: 21.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.3941, allocations: 0 / 490.6 MB, free: 21.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00195/0.396, allocations: 1.105 MB / 491.7 MB, free: 21.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.3961, allocations: 58.75 kB / 491.7 MB, free: 21.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008052/0.3969, allocations: 0.8717 MB / 492.6 MB, free: 20.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.3969, allocations: 32.7 kB / 492.6 MB, free: 20.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3972, allocations: 0.5726 MB / 493.2 MB, free: 20.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.3973, allocations: 140.2 kB / 493.3 MB, free: 20.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.3975, allocations: 241.2 kB / 493.6 MB, free: 20.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.3976, allocations: 395.9 kB / 494 MB, free: 19.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.3979, allocations: 251.7 kB / 494.2 MB, free: 19.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000581/0.3985, allocations: 0.9602 MB / 495.2 MB, free: 18.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.3996, allocations: 1.319 MB / 496.5 MB, free: 17.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.3996, allocations: 11.47 kB / 496.5 MB, free: 17.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001853/0.4015, allocations: 1.21 MB / 497.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.4015, allocations: 20.91 kB / 497.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/0.4016, allocations: 25.84 kB / 497.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.882e-05/0.4016, allocations: 38.91 kB / 497.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.4025, allocations: 273.4 kB / 498.1 MB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.085e-05/0.4025, allocations: 52.3 kB / 498.1 MB, free: 16.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.4033, allocations: 73.62 kB / 498.2 MB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4034, allocations: 72.66 kB / 498.3 MB, free: 16.75 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.0004254/0.4039, allocations: 329.7 kB / 498.6 MB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.404, allocations: 86.75 kB / 498.7 MB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009017/0.4049, allocations: 480 kB / 499.1 MB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.4049, allocations: 4.312 kB / 499.1 MB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.405, allocations: 0 / 499.1 MB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.405, allocations: 4.469 kB / 499.1 MB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.4066, allocations: 1.241 MB / 0.4886 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4067, allocations: 2.125 kB / 0.4887 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.407, allocations: 69.95 kB / 0.4887 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.407, allocations: 7.594 kB / 0.4887 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.407, allocations: 14.05 kB / 0.4887 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.407, allocations: 6.75 kB / 0.4887 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.407, allocations: 6.297 kB / 0.4888 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.4081, allocations: 0.6481 MB / 0.4894 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.4084, allocations: 205 kB / 0.4896 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4085, allocations: 8.453 kB / 0.4896 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.4089, allocations: 24.48 kB / 0.4896 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.409, allocations: 27 kB / 0.4896 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.409, allocations: 25.3 kB / 0.4897 GB, free: 14.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008524/0.4099, allocations: 0.5939 MB / 0.4902 GB, free: 14.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4099, allocations: 1.125 kB / 0.4902 GB, free: 14.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001525/0.4114, allocations: 304.6 kB / 0.4905 GB, free: 14.54 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.000863/0.4123, allocations: 334.1 kB / 0.4909 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.4136, allocations: 0.663 MB / 0.4915 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.4137, allocations: 1.281 kB / 0.4915 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.4139, allocations: 142.5 kB / 0.4916 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.4159, allocations: 430.4 kB / 0.492 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.4185, allocations: 1.762 MB / 0.4938 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.4191, allocations: 0.9929 MB / 0.4947 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001152/0.4202, allocations: 311.7 kB / 0.495 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.4204, allocations: 76.69 kB / 0.4951 GB, free: 12.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4204, allocations: 1.375 kB / 0.4951 GB, free: 12.09 MB / 382.1 MB Notification: Performance of Templates: time 0.02893/0.4493, allocations: 15.85 MB / 0.5106 GB, free: 6.852 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