Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002208/0.002208, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.493/2.493, allocations: 227.4 MB / 246.9 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4634/0.4634, allocations: 46.1 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002383/0.002384, allocations: 75.88 kB / 417.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2255, allocations: 62.43 MB / 479.9 MB, free: 9.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.03285/0.2584, allocations: 18.26 MB / 498.2 MB, free: 6.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01561/0.274, allocations: 7.14 MB / 0.4935 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.2758, allocations: 27.81 kB / 0.4935 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.2777, allocations: 326.2 kB / 0.4938 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.2808, allocations: 0.657 MB / 0.4945 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005683/0.2865, allocations: 1.205 MB / 0.4956 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006535/0.2931, allocations: 3.59 MB / 0.4992 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.2949, allocations: 0.5839 MB / 0.4997 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.2983, allocations: 0.9263 MB / 0.5006 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.3006, allocations: 0.7863 MB / 0.5014 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003084/0.3009, allocations: 48 kB / 0.5014 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.3034, allocations: 0.5497 MB / 0.502 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006988/0.3041, allocations: 339.1 kB / 0.5023 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.3053, allocations: 489.7 kB / 0.5028 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.308, allocations: 1.146 MB / 0.5039 GB, free: 4.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.308, allocations: 0 / 0.5039 GB, free: 4.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.308, allocations: 0 / 0.5039 GB, free: 4.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.3081, allocations: 0 / 0.5039 GB, free: 4.895 MB / 430.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.004118/0.3122, allocations: 1.287 MB / 0.5051 GB, free: 3.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.701e-05/0.3123, allocations: 16.02 kB / 0.5052 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.3132, allocations: 123.8 kB / 0.5053 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.3148, allocations: 0.5794 MB / 0.5058 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/0.3151, allocations: 256.7 kB / 0.5061 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.3153, allocations: 76.38 kB / 0.5062 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/0.3187, allocations: 1.305 MB / 0.5074 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/0.3188, allocations: 11.92 kB / 0.5074 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.319, allocations: 40 kB / 0.5075 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.042e-05/0.3191, allocations: 41.31 kB / 0.5075 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.3218, allocations: 0.9649 MB / 0.5085 GB, free: 15.94 MB / 446.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.01177/0.3336, allocations: 7.093 MB / 0.5154 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.3346, allocations: 316.6 kB / 0.5157 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.3351, allocations: 173.4 kB / 0.5159 GB, free: 7.898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00425/0.3393, allocations: 2.826 MB / 0.5186 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.3394, allocations: 38.8 kB / 0.5187 GB, free: 4.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/0.3394, allocations: 0 / 0.5187 GB, free: 4.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.003935/0.3434, allocations: 1.097 MB / 0.5197 GB, free: 3.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/0.3435, allocations: 55.41 kB / 0.5198 GB, free: 3.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.3453, allocations: 0.8835 MB / 0.5206 GB, free: 2.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.976e-05/0.3454, allocations: 37.7 kB / 0.5207 GB, free: 2.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.346, allocations: 0.5627 MB / 0.5212 GB, free: 1.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.3462, allocations: 134.3 kB / 0.5214 GB, free: 1.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000433/0.3466, allocations: 238.5 kB / 0.5216 GB, free: 1.422 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002862/0.3469, allocations: 402.7 kB / 0.522 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.3476, allocations: 242.5 kB / 0.5222 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.3492, allocations: 0.9736 MB / 0.5232 GB, free: 15.45 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/0.3517, allocations: 1.316 MB / 0.5244 GB, free: 13.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/0.3517, allocations: 12 kB / 0.5244 GB, free: 13.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003489/0.3552, allocations: 1.203 MB / 0.5256 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.3553, allocations: 16.94 kB / 0.5256 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.071e-05/0.3554, allocations: 24 kB / 0.5257 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.11e-05/0.3554, allocations: 36 kB / 0.5257 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.3569, allocations: 283.4 kB / 0.526 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.99e-05/0.357, allocations: 51.84 kB / 0.526 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.3585, allocations: 67.84 kB / 0.5261 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.3587, allocations: 79.86 kB / 0.5262 GB, free: 12 MB / 462.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.0007971/0.3595, allocations: 345 kB / 0.5265 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/0.3598, allocations: 90.97 kB / 0.5266 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.3613, allocations: 487 kB / 0.527 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.3613, allocations: 4 kB / 0.527 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.3614, allocations: 0 / 0.527 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3614, allocations: 3.984 kB / 0.527 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.3643, allocations: 1.243 MB / 0.5283 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.3643, allocations: 0 / 0.5283 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.3648, allocations: 71.83 kB / 0.5283 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.3648, allocations: 4 kB / 0.5283 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.3649, allocations: 12 kB / 0.5283 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.3649, allocations: 4 kB / 0.5283 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3649, allocations: 4.188 kB / 0.5283 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.3665, allocations: 0.6398 MB / 0.529 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005869/0.3671, allocations: 208 kB / 0.5292 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.3673, allocations: 8 kB / 0.5292 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.3681, allocations: 23.92 kB / 0.5292 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.3682, allocations: 23.97 kB / 0.5292 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/0.3683, allocations: 31.91 kB / 0.5293 GB, free: 8.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00138/0.3697, allocations: 0.597 MB / 0.5298 GB, free: 8.027 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.756e-06/0.3697, allocations: 0 / 0.5298 GB, free: 8.027 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002197/0.3719, allocations: 303.9 kB / 0.5301 GB, free: 7.73 MB / 462.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.001155/0.3731, allocations: 329.4 kB / 0.5304 GB, free: 7.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.3749, allocations: 0.6328 MB / 0.5311 GB, free: 6.773 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.3749, allocations: 4 kB / 0.5311 GB, free: 6.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.3753, allocations: 146.1 kB / 0.5312 GB, free: 6.629 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003236/0.3785, allocations: 409.1 kB / 0.5316 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.3827, allocations: 1.804 MB / 0.5334 GB, free: 4.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008823/0.3836, allocations: 0.9973 MB / 0.5343 GB, free: 3.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.3839, allocations: 83.42 kB / 0.5344 GB, free: 3.27 MB / 462.1 MB Notification: Performance of SimCode: time 2.074e-06/0.384, allocations: 0 / 0.5344 GB, free: 3.27 MB / 462.1 MB Notification: Performance of Templates: time 0.3799/0.7638, allocations: 14.71 MB / 0.5488 GB, free: 97.81 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches