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.001116/0.001116, allocations: 103.2 kB / 18.4 MB, free: 4.703 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.001197/0.001197, allocations: 188 kB / 19.34 MB, free: 3.77 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.365/1.365, allocations: 222.9 MB / 243 MB, free: 15.04 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.2028/0.2028, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 64.47 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1162, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01735/0.1336, allocations: 17.61 MB / 488.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008651/0.1422, allocations: 6.995 MB / 495.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008448/0.1431, allocations: 19.88 kB / 495.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1442, allocations: 381.6 kB / 495.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.1458, allocations: 0.6722 MB / 496.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003593/0.1494, allocations: 1.328 MB / 497.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002916/0.1523, allocations: 2.506 MB / 0.4885 GB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000955/0.1533, allocations: 0.6777 MB / 0.4892 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.155, allocations: 1.032 MB / 0.4902 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/0.156, allocations: 0.7513 MB / 0.4909 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.1562, allocations: 84 kB / 0.491 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.1574, allocations: 0.5421 MB / 0.4915 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003568/0.1578, allocations: 371.1 kB / 0.4919 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005337/0.1583, allocations: 0.5133 MB / 0.4924 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.16, allocations: 1.539 MB / 0.4939 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1601, allocations: 0 / 0.4939 GB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1601, allocations: 0 / 0.4939 GB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1601, allocations: 3.938 kB / 0.4939 GB, free: 10.5 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.002228/0.1623, allocations: 1.294 MB / 0.4951 GB, free: 9.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1624, allocations: 8.031 kB / 0.4951 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004559/0.1628, allocations: 119.8 kB / 0.4952 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1639, allocations: 0.6146 MB / 0.4958 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.1641, allocations: 244.8 kB / 0.4961 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.1642, allocations: 92.36 kB / 0.4962 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.166, allocations: 1.302 MB / 0.4974 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.166, allocations: 7.938 kB / 0.4974 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.1661, allocations: 47.97 kB / 0.4975 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.1662, allocations: 33.31 kB / 0.4975 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.1677, allocations: 0.9649 MB / 0.4985 GB, free: 5.516 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.1912/0.3589, allocations: 7.076 MB / 0.5054 GB, free: 47.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.3595, allocations: 312.4 kB / 0.5057 GB, free: 47.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.3598, allocations: 174.6 kB / 0.5058 GB, free: 47.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/0.3618, allocations: 2.817 MB / 0.5086 GB, free: 44.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3618, allocations: 43.28 kB / 0.5086 GB, free: 44.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.245e-06/0.3618, allocations: 1.906 kB / 0.5086 GB, free: 44.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002125/0.364, allocations: 1.111 MB / 0.5097 GB, free: 44.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.364, allocations: 58.62 kB / 0.5098 GB, free: 44.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3651, allocations: 0.8773 MB / 0.5106 GB, free: 43.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.3651, allocations: 33.39 kB / 0.5107 GB, free: 43.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.3654, allocations: 0.5723 MB / 0.5112 GB, free: 43.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.3655, allocations: 130.4 kB / 0.5114 GB, free: 43.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002463/0.3657, allocations: 243.6 kB / 0.5116 GB, free: 43.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3659, allocations: 391.8 kB / 0.512 GB, free: 42.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.3663, allocations: 246.8 kB / 0.5122 GB, free: 42.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.3669, allocations: 0.9645 MB / 0.5131 GB, free: 41.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.368, allocations: 1.325 MB / 0.5144 GB, free: 40.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.368, allocations: 11.47 kB / 0.5144 GB, free: 40.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001739/0.3698, allocations: 1.208 MB / 0.5156 GB, free: 39.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.3698, allocations: 15.78 kB / 0.5156 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/0.3698, allocations: 26.59 kB / 0.5157 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-05/0.3699, allocations: 34.34 kB / 0.5157 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/0.3707, allocations: 278.7 kB / 0.516 GB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.882e-05/0.3707, allocations: 52.03 kB / 0.516 GB, free: 39.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/0.3715, allocations: 55.5 kB / 0.5161 GB, free: 39.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.3716, allocations: 75.03 kB / 0.5161 GB, free: 39.84 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.0003746/0.372, allocations: 332.6 kB / 0.5164 GB, free: 39.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3721, allocations: 95.42 kB / 0.5165 GB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008994/0.373, allocations: 477.9 kB / 0.517 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3731, allocations: 3.469 kB / 0.517 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3731, allocations: 0.8125 kB / 0.517 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3731, allocations: 1.688 kB / 0.517 GB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.3748, allocations: 1.235 MB / 0.5182 GB, free: 38.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3749, allocations: 3.25 kB / 0.5182 GB, free: 38.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.3752, allocations: 66 kB / 0.5183 GB, free: 38.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.3752, allocations: 10.66 kB / 0.5183 GB, free: 38.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3752, allocations: 14.7 kB / 0.5183 GB, free: 38.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3752, allocations: 6.141 kB / 0.5183 GB, free: 38.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3752, allocations: 2.953 kB / 0.5183 GB, free: 38.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009334/0.3762, allocations: 0.6488 MB / 0.5189 GB, free: 38.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.3765, allocations: 200.6 kB / 0.5191 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3766, allocations: 18.67 kB / 0.5191 GB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.377, allocations: 19.3 kB / 0.5192 GB, free: 37.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.3771, allocations: 19.86 kB / 0.5192 GB, free: 37.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.3772, allocations: 24.66 kB / 0.5192 GB, free: 37.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008178/0.378, allocations: 0.5949 MB / 0.5198 GB, free: 37.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 3e-07/0.378, allocations: 0 / 0.5198 GB, free: 37.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001261/0.3793, allocations: 305 kB / 0.5201 GB, free: 37.67 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.0007127/0.38, allocations: 323.6 kB / 0.5204 GB, free: 37.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3811, allocations: 0.6505 MB / 0.521 GB, free: 37.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3811, allocations: 1.219 kB / 0.521 GB, free: 37.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.3813, allocations: 140.8 kB / 0.5212 GB, free: 37.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.383, allocations: 434.7 kB / 0.5216 GB, free: 37.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.3851, allocations: 1.467 MB / 0.523 GB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.3856, allocations: 1 MB / 0.524 GB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008914/0.3865, allocations: 318.2 kB / 0.5243 GB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3867, allocations: 77.28 kB / 0.5244 GB, free: 35.58 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3867, allocations: 1.219 kB / 0.5244 GB, free: 35.58 MB / 382.1 MB Notification: Performance of Templates: time 0.02107/0.4077, allocations: 15.91 MB / 0.5399 GB, free: 24.09 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 gbode -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