Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 102 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.312/0.312, allocations: 44.14 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 55.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3434, allocations: 60.8 MB / 0.5064 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01428/0.3577, allocations: 18.12 MB / 0.5241 GB, free: 25.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007322/0.3651, allocations: 7.112 MB / 0.531 GB, free: 20.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.3662, allocations: 29.72 kB / 0.5311 GB, free: 20.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3673, allocations: 327.5 kB / 0.5314 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.369, allocations: 0.654 MB / 0.532 GB, free: 19.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.3723, allocations: 1.208 MB / 0.5332 GB, free: 19.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.3754, allocations: 3.594 MB / 0.5367 GB, free: 18.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008852/0.3763, allocations: 0.5848 MB / 0.5373 GB, free: 17.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.3781, allocations: 0.9139 MB / 0.5382 GB, free: 17.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009945/0.3791, allocations: 0.7926 MB / 0.5389 GB, free: 17.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.3793, allocations: 53.56 kB / 0.539 GB, free: 17.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.3805, allocations: 0.5458 MB / 0.5395 GB, free: 17.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.3808, allocations: 342.3 kB / 0.5399 GB, free: 16.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.3813, allocations: 485.2 kB / 0.5403 GB, free: 16.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.3828, allocations: 1.505 MB / 0.5418 GB, free: 16.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3828, allocations: 0 / 0.5418 GB, free: 16.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3828, allocations: 0 / 0.5418 GB, free: 16.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.3829, allocations: 0 / 0.5418 GB, free: 16.2 MB / 378.7 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.002204/0.3851, allocations: 1.287 MB / 0.543 GB, free: 15.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3851, allocations: 13.72 kB / 0.5431 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.3856, allocations: 120.7 kB / 0.5432 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/0.3865, allocations: 0.5958 MB / 0.5438 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.3867, allocations: 251.5 kB / 0.544 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3868, allocations: 84.48 kB / 0.5441 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3883, allocations: 1.307 MB / 0.5453 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.3883, allocations: 7.938 kB / 0.5454 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/0.3884, allocations: 45.73 kB / 0.5454 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.3885, allocations: 39.47 kB / 0.5454 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.39, allocations: 0.9596 MB / 0.5464 GB, free: 13.58 MB / 378.7 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.005781/0.3958, allocations: 7.081 MB / 0.5533 GB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.3963, allocations: 318.4 kB / 0.5536 GB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.3966, allocations: 173.9 kB / 0.5538 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002168/0.3988, allocations: 2.815 MB / 0.5565 GB, free: 4.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3989, allocations: 39.27 kB / 0.5565 GB, free: 4.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.3989, allocations: 0 / 0.5565 GB, free: 4.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002217/0.4011, allocations: 1.108 MB / 0.5576 GB, free: 3.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4011, allocations: 59.12 kB / 0.5577 GB, free: 3.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4022, allocations: 0.8749 MB / 0.5585 GB, free: 3.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.4022, allocations: 32.31 kB / 0.5586 GB, free: 3.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.4025, allocations: 0.5705 MB / 0.5591 GB, free: 2.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.487e-05/0.4026, allocations: 133.5 kB / 0.5593 GB, free: 2.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.4029, allocations: 238.8 kB / 0.5595 GB, free: 2.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.403, allocations: 403.4 kB / 0.5599 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.4034, allocations: 245.8 kB / 0.5601 GB, free: 2.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.4041, allocations: 0.9648 MB / 0.561 GB, free: 1.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.4053, allocations: 1.324 MB / 0.5623 GB, free: 15.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.4053, allocations: 6.906 kB / 0.5623 GB, free: 15.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002035/0.4074, allocations: 1.203 MB / 0.5635 GB, free: 15.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.4074, allocations: 16.14 kB / 0.5635 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.2e-05/0.4075, allocations: 29.69 kB / 0.5636 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.138e-05/0.4075, allocations: 34.59 kB / 0.5636 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.4089, allocations: 278.4 kB / 0.5639 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.851e-05/0.409, allocations: 50.69 kB / 0.5639 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00095/0.41, allocations: 66.41 kB / 0.564 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4101, allocations: 81.48 kB / 0.564 GB, free: 15.28 MB / 394.7 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.0004635/0.4106, allocations: 334.8 kB / 0.5644 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.4107, allocations: 86.34 kB / 0.5645 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.4116, allocations: 486.9 kB / 0.5649 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4117, allocations: 3.656 kB / 0.5649 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4117, allocations: 0 / 0.5649 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4117, allocations: 1.969 kB / 0.5649 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.4136, allocations: 1.241 MB / 0.5661 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4137, allocations: 1.344 kB / 0.5661 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.414, allocations: 78.27 kB / 0.5662 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.414, allocations: 2.891 kB / 0.5662 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.414, allocations: 10.41 kB / 0.5662 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.414, allocations: 7.188 kB / 0.5662 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.414, allocations: 6.812 kB / 0.5662 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004737/0.4188, allocations: 2.941 MB / 0.5691 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.4191, allocations: 198 kB / 0.5693 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.4192, allocations: 11.95 kB / 0.5693 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.4196, allocations: 19.95 kB / 0.5693 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.4197, allocations: 35.41 kB / 0.5694 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.4197, allocations: 28.03 kB / 0.5694 GB, free: 11.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008157/0.4206, allocations: 0.5936 MB / 0.57 GB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4206, allocations: 0 / 0.57 GB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001525/0.4221, allocations: 399 kB / 0.5703 GB, free: 11.32 MB / 394.7 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.0007248/0.4229, allocations: 344.1 kB / 0.5707 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.4242, allocations: 0.6363 MB / 0.5713 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.4242, allocations: 1.156 kB / 0.5713 GB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.4244, allocations: 150.9 kB / 0.5714 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.4265, allocations: 408.7 kB / 0.5718 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.4291, allocations: 2.011 MB / 0.5738 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006836/0.4298, allocations: 1.001 MB / 0.5748 GB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.4309, allocations: 317 kB / 0.5751 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4311, allocations: 79.42 kB / 0.5752 GB, free: 7.188 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4311, allocations: 0 / 0.5752 GB, free: 7.188 MB / 394.7 MB Notification: Performance of Templates: time 0.02603/0.4572, allocations: 16.05 MB / 0.5908 GB, free: 7.293 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches