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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 108.3 kB / 18.4 MB, free: 4.719 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.001155/0.001155, allocations: 191 kB / 19.34 MB, free: 3.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 243 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.66 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01809/0.1268, allocations: 17.61 MB / 488.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00857/0.1354, allocations: 7.003 MB / 495.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007996/0.1362, allocations: 23.81 kB / 495.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.1373, allocations: 381.6 kB / 495.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.1388, allocations: 0.6683 MB / 496.4 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.1421, allocations: 1.327 MB / 497.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.1447, allocations: 2.506 MB / 0.4885 GB, free: 56 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008887/0.1456, allocations: 0.6739 MB / 0.4892 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.1472, allocations: 1.028 MB / 0.4902 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/0.1481, allocations: 0.7512 MB / 0.4909 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.1483, allocations: 88 kB / 0.491 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1494, allocations: 0.5382 MB / 0.4915 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.1498, allocations: 375 kB / 0.4919 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.1503, allocations: 0.5095 MB / 0.4924 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.1521, allocations: 1.535 MB / 0.4939 GB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1521, allocations: 4 kB / 0.4939 GB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1521, allocations: 0 / 0.4939 GB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1521, allocations: 0 / 0.4939 GB, free: 10.54 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.002331/0.1545, allocations: 1.29 MB / 0.4951 GB, free: 9.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1545, allocations: 8.031 kB / 0.4951 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/0.155, allocations: 123.8 kB / 0.4952 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1561, allocations: 0.6107 MB / 0.4958 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.1563, allocations: 252.8 kB / 0.4961 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.1564, allocations: 80.36 kB / 0.4962 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.1582, allocations: 1.31 MB / 0.4974 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.1582, allocations: 11.88 kB / 0.4974 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/0.1583, allocations: 43.98 kB / 0.4975 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.1584, allocations: 41.3 kB / 0.4975 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.1599, allocations: 0.9649 MB / 0.4985 GB, free: 5.547 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.1899/0.3497, allocations: 7.075 MB / 0.5054 GB, free: 47.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.3503, allocations: 310.6 kB / 0.5057 GB, free: 47.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.3506, allocations: 175.2 kB / 0.5058 GB, free: 47.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001983/0.3526, allocations: 2.819 MB / 0.5086 GB, free: 44.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.3527, allocations: 38.48 kB / 0.5086 GB, free: 44.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3527, allocations: 0 / 0.5086 GB, free: 44.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002051/0.3547, allocations: 1.112 MB / 0.5097 GB, free: 44.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.3548, allocations: 55.47 kB / 0.5098 GB, free: 44.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.3557, allocations: 0.8801 MB / 0.5106 GB, free: 43.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.3558, allocations: 34.45 kB / 0.5107 GB, free: 43.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.3561, allocations: 0.5709 MB / 0.5112 GB, free: 43.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.932e-05/0.3562, allocations: 138.8 kB / 0.5114 GB, free: 43.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.3564, allocations: 240.9 kB / 0.5116 GB, free: 43.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3565, allocations: 396 kB / 0.512 GB, free: 42.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.3569, allocations: 245.7 kB / 0.5122 GB, free: 42.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.3575, allocations: 0.9701 MB / 0.5131 GB, free: 41.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.3588, allocations: 1.325 MB / 0.5144 GB, free: 40.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.301e-05/0.3588, allocations: 7.281 kB / 0.5144 GB, free: 40.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001871/0.3607, allocations: 1.212 MB / 0.5156 GB, free: 40.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.3607, allocations: 16.06 kB / 0.5156 GB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.3607, allocations: 25.69 kB / 0.5157 GB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.748e-05/0.3608, allocations: 35.64 kB / 0.5157 GB, free: 40.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.3616, allocations: 277.6 kB / 0.516 GB, free: 40.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.733e-05/0.3617, allocations: 52.72 kB / 0.516 GB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.3623, allocations: 46.08 kB / 0.5161 GB, free: 40 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/0.3624, allocations: 76.2 kB / 0.5161 GB, free: 39.99 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.0003173/0.3627, allocations: 337.8 kB / 0.5165 GB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3629, allocations: 91.92 kB / 0.5165 GB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/0.3636, allocations: 472.1 kB / 0.517 GB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.3637, allocations: 8.75 kB / 0.517 GB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3637, allocations: 0.7188 kB / 0.517 GB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3637, allocations: 2.484 kB / 0.517 GB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3653, allocations: 1.233 MB / 0.5182 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3653, allocations: 5.688 kB / 0.5182 GB, free: 38.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.3656, allocations: 65.81 kB / 0.5183 GB, free: 38.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3656, allocations: 3.641 kB / 0.5183 GB, free: 38.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3657, allocations: 9.5 kB / 0.5183 GB, free: 38.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.3657, allocations: 12.77 kB / 0.5183 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3657, allocations: 1.469 kB / 0.5183 GB, free: 38.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.3666, allocations: 0.6536 MB / 0.5189 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.3668, allocations: 196.8 kB / 0.5191 GB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.367, allocations: 9.547 kB / 0.5191 GB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.3674, allocations: 19.3 kB / 0.5192 GB, free: 38.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.3674, allocations: 27.22 kB / 0.5192 GB, free: 38.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.3675, allocations: 26.14 kB / 0.5192 GB, free: 38.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007867/0.3683, allocations: 0.5963 MB / 0.5198 GB, free: 37.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3683, allocations: 0 / 0.5198 GB, free: 37.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001032/0.3693, allocations: 299.2 kB / 0.5201 GB, free: 37.82 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.0005902/0.3699, allocations: 341.7 kB / 0.5204 GB, free: 37.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009498/0.3709, allocations: 0.6473 MB / 0.521 GB, free: 37.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3709, allocations: 1.469 kB / 0.521 GB, free: 37.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.3711, allocations: 149.6 kB / 0.5212 GB, free: 37.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.3728, allocations: 420.2 kB / 0.5216 GB, free: 37.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3748, allocations: 1.464 MB / 0.523 GB, free: 36.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.3753, allocations: 0.9986 MB / 0.524 GB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007942/0.3761, allocations: 317.2 kB / 0.5243 GB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.3762, allocations: 81.83 kB / 0.5244 GB, free: 35.72 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3762, allocations: 3.938 kB / 0.5244 GB, free: 35.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02107/0.3973, allocations: 15.89 MB / 0.5399 GB, free: 24.32 MB / 382.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches