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.001147/0.001147, allocations: 98.31 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 176.6 kB / 16.57 MB, free: 6.375 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.346/1.346, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.3795/0.3795, allocations: 43.54 MB / 314.5 MB, free: 8.73 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.0004668/0.0004668, allocations: 12 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.86 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2066/0.3292, allocations: 15.1 MB / 457.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007006/0.3362, allocations: 6.07 MB / 463.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005674/0.3368, allocations: 26.28 kB / 464 MB, free: 36.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.3375, allocations: 314.7 kB / 464.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.3385, allocations: 0.5257 MB / 464.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.3409, allocations: 1.054 MB / 465.8 MB, free: 36.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.3423, allocations: 1.449 MB / 467.3 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005884/0.3429, allocations: 0.561 MB / 467.8 MB, free: 36.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.344, allocations: 0.778 MB / 468.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.3445, allocations: 0.4909 MB / 469.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.18e-05/0.3446, allocations: 48.22 kB / 469.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008252/0.3454, allocations: 363.7 kB / 469.5 MB, free: 36.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.3456, allocations: 305.5 kB / 469.8 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.3458, allocations: 200.5 kB / 470 MB, free: 36.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008311/0.3466, allocations: 1.064 MB / 471.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.3467, allocations: 0 / 471.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3467, allocations: 0 / 471.1 MB, free: 36.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3467, allocations: 3.938 kB / 471.1 MB, free: 36.07 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.001656/0.3483, allocations: 1.109 MB / 472.2 MB, free: 35.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3484, allocations: 9.562 kB / 472.2 MB, free: 35.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.3488, allocations: 117.2 kB / 472.3 MB, free: 35.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000806/0.3496, allocations: 0.5734 MB / 472.9 MB, free: 35.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.3497, allocations: 249.1 kB / 473.1 MB, free: 34.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3499, allocations: 83.64 kB / 473.2 MB, free: 34.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.3513, allocations: 1.294 MB / 474.5 MB, free: 34.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.3513, allocations: 10.7 kB / 474.5 MB, free: 34.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/0.3514, allocations: 47.09 kB / 474.6 MB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.3515, allocations: 37.61 kB / 474.6 MB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.3526, allocations: 0.9615 MB / 475.6 MB, free: 34.38 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.004624/0.3573, allocations: 7.092 MB / 482.7 MB, free: 28.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.3577, allocations: 304.5 kB / 483 MB, free: 28.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.3594, allocations: 2.825 MB / 485.8 MB, free: 25.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3594, allocations: 38.02 kB / 485.8 MB, free: 25.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.3594, allocations: 0 / 485.8 MB, free: 25.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001729/0.3611, allocations: 1.112 MB / 486.9 MB, free: 24.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.3612, allocations: 54.66 kB / 487 MB, free: 24.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/0.3619, allocations: 0.8694 MB / 487.8 MB, free: 24.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.362, allocations: 32.98 kB / 487.9 MB, free: 24.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.3622, allocations: 0.5734 MB / 488.5 MB, free: 23.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.3623, allocations: 131 kB / 488.6 MB, free: 23.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3623, allocations: 26.53 kB / 488.6 MB, free: 23.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3624, allocations: 393.7 kB / 489 MB, free: 23.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.3628, allocations: 246.5 kB / 489.2 MB, free: 23.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.3633, allocations: 0.9539 MB / 490.2 MB, free: 22.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.3638, allocations: 434.9 kB / 490.6 MB, free: 22.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.3638, allocations: 13.66 kB / 490.6 MB, free: 22.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001343/0.3651, allocations: 1.195 MB / 491.8 MB, free: 21.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.3652, allocations: 14.94 kB / 491.8 MB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.3652, allocations: 31.72 kB / 491.9 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/0.3653, allocations: 39.28 kB / 491.9 MB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.366, allocations: 277.6 kB / 492.2 MB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.979e-05/0.366, allocations: 53.94 kB / 492.2 MB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.3666, allocations: 73.84 kB / 492.3 MB, free: 21.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/0.3667, allocations: 73.62 kB / 492.4 MB, free: 21.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002959/0.367, allocations: 332.2 kB / 492.7 MB, free: 21.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/0.3671, allocations: 85.12 kB / 492.8 MB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007113/0.3678, allocations: 486.8 kB / 493.3 MB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3678, allocations: 3.219 kB / 493.3 MB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3678, allocations: 0 / 493.3 MB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3679, allocations: 3.281 kB / 493.3 MB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.3692, allocations: 1.249 MB / 494.5 MB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3692, allocations: 0 / 494.5 MB, free: 20.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.3694, allocations: 67.69 kB / 494.6 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3695, allocations: 6.984 kB / 494.6 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.3695, allocations: 8.453 kB / 494.6 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3695, allocations: 5.656 kB / 494.6 MB, free: 20.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3695, allocations: 5.656 kB / 494.6 MB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.3702, allocations: 0.7222 MB / 495.3 MB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.3705, allocations: 211.8 kB / 495.5 MB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.3706, allocations: 14.7 kB / 495.5 MB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.371, allocations: 30.83 kB / 495.6 MB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.371, allocations: 24.41 kB / 495.6 MB, free: 19.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.3711, allocations: 24.83 kB / 495.6 MB, free: 19.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006647/0.3717, allocations: 0.5819 MB / 496.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3718, allocations: 0 / 496.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3728, allocations: 295.7 kB / 496.5 MB, free: 19.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005963/0.3734, allocations: 311.8 kB / 496.8 MB, free: 18.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009741/0.3744, allocations: 0.6391 MB / 497.4 MB, free: 18.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3744, allocations: 3.125 kB / 497.4 MB, free: 18.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3746, allocations: 144 kB / 497.6 MB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.3762, allocations: 385.2 kB / 498 MB, free: 18.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3783, allocations: 1.741 MB / 499.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.3788, allocations: 1.018 MB / 0.489 GB, free: 16.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.3799, allocations: 309.7 kB / 0.4893 GB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.38, allocations: 80.73 kB / 0.4894 GB, free: 16.8 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.38, allocations: 0 / 0.4894 GB, free: 16.8 MB / 382.1 MB Notification: Performance of Templates: time 0.02512/0.4051, allocations: 14.56 MB / 0.5036 GB, free: 12.35 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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