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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 213.7 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.2 MB / 257.9 MB, free: 8.207 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.9 MB / 361.3 MB, free: 4.406 MB / 286.1 MB
"
[Timeout remaining time 180]
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=5002,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=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 75.88 kB / 0.497 GB, free: 7.562 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.363, allocations: 66.03 MB / 0.5615 GB, free: 4.578 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02317/0.3862, allocations: 18.03 MB / 0.5791 GB, free: 2.477 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01054/0.3967, allocations: 7.093 MB / 0.5861 GB, free: 11.36 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.3976, allocations: 35.69 kB / 0.5861 GB, free: 11.32 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001187/0.3988, allocations: 385.6 kB / 0.5865 GB, free: 10.94 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001979/0.4008, allocations: 0.6917 MB / 0.5871 GB, free: 10.25 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.4046, allocations: 1.359 MB / 0.5885 GB, free: 8.902 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003478/0.4081, allocations: 2.564 MB / 0.591 GB, free: 6.332 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.409, allocations: 0.5612 MB / 0.5915 GB, free: 5.758 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.411, allocations: 1.071 MB / 0.5926 GB, free: 4.684 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.4122, allocations: 0.7979 MB / 0.5933 GB, free: 3.883 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000184/0.4124, allocations: 88 kB / 0.5934 GB, free: 3.797 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.4139, allocations: 0.6201 MB / 0.594 GB, free: 3.176 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.4144, allocations: 390.9 kB / 0.5944 GB, free: 2.793 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000658/0.415, allocations: 0.5095 MB / 0.5949 GB, free: 2.281 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002276/0.4173, allocations: 1.615 MB / 0.5965 GB, free: 0.6641 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4173, allocations: 0 / 0.5965 GB, free: 0.6641 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.513e-06/0.4173, allocations: 0 / 0.5965 GB, free: 0.6641 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 1.402e-05/0.4173, allocations: 0 / 0.5965 GB, free: 0.6641 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.002578/0.4199, allocations: 1.237 MB / 0.5977 GB, free: 15.39 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4199, allocations: 8.031 kB / 0.5977 GB, free: 15.38 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000496/0.4204, allocations: 124.3 kB / 0.5978 GB, free: 15.26 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.4216, allocations: 0.5493 MB / 0.5984 GB, free: 14.69 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/0.4218, allocations: 252.7 kB / 0.5986 GB, free: 14.41 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.4219, allocations: 84.33 kB / 0.5987 GB, free: 14.32 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.424, allocations: 1.301 MB / 0.5999 GB, free: 12.89 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.424, allocations: 11.94 kB / 0.6 GB, free: 12.88 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.4241, allocations: 39.98 kB / 0.6 GB, free: 12.84 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/0.4242, allocations: 37.31 kB / 0.6 GB, free: 12.8 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.4258, allocations: 0.9649 MB / 0.601 GB, free: 11.84 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.007761/0.4336, allocations: 6.998 MB / 0.6078 GB, free: 4.379 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.4342, allocations: 296.9 kB / 0.6081 GB, free: 4.082 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.4345, allocations: 163.7 kB / 0.6082 GB, free: 3.922 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.002095/0.4366, allocations: 0.8481 MB / 0.6091 GB, free: 3.055 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4367, allocations: 42.73 kB / 0.6091 GB, free: 3.004 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.4367, allocations: 0 / 0.6091 GB, free: 3.004 MB / 446.1 MB
Notification: Performance of matching and sorting (n=34): time 0.002516/0.4392, allocations: 1.037 MB / 0.6101 GB, free: 1.934 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.4392, allocations: 59.41 kB / 0.6102 GB, free: 1.863 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.4403, allocations: 0.8682 MB / 0.611 GB, free: 0.9844 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.4404, allocations: 33.7 kB / 0.6111 GB, free: 0.9453 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005115/0.4409, allocations: 0.5921 MB / 0.6116 GB, free: 352 kB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.441, allocations: 142.9 kB / 0.6118 GB, free: 208 kB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.4413, allocations: 242.8 kB / 0.612 GB, free: 15.96 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002504/0.4416, allocations: 402.6 kB / 0.6124 GB, free: 15.55 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.4421, allocations: 250.4 kB / 0.6126 GB, free: 15.31 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.4432, allocations: 0.9661 MB / 0.6136 GB, free: 13.98 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.4449, allocations: 1.323 MB / 0.6149 GB, free: 12.29 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.4449, allocations: 8 kB / 0.6149 GB, free: 12.29 MB / 462.1 MB
Notification: Performance of matching and sorting (n=154) (initialization): time 0.002125/0.447, allocations: 1.216 MB / 0.6161 GB, free: 11.06 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.447, allocations: 16.22 kB / 0.6161 GB, free: 11.05 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.4471, allocations: 31.94 kB / 0.6161 GB, free: 11.02 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 5.173e-05/0.4471, allocations: 36 kB / 0.6161 GB, free: 10.98 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/0.4479, allocations: 275.5 kB / 0.6164 GB, free: 10.71 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.312e-05/0.448, allocations: 47.8 kB / 0.6164 GB, free: 10.66 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.4487, allocations: 52 kB / 0.6165 GB, free: 10.61 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4488, allocations: 75.98 kB / 0.6166 GB, free: 10.54 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.0005068/0.4493, allocations: 333.1 kB / 0.6169 GB, free: 10.2 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.4494, allocations: 99.42 kB / 0.617 GB, free: 10.11 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.4505, allocations: 484.2 kB / 0.6174 GB, free: 9.621 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.4505, allocations: 0 / 0.6174 GB, free: 9.621 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4505, allocations: 8 kB / 0.6175 GB, free: 9.613 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.4505, allocations: 7.984 kB / 0.6175 GB, free: 9.605 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.4523, allocations: 1.065 MB / 0.6185 GB, free: 8.477 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4523, allocations: 0 / 0.6185 GB, free: 8.477 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.4525, allocations: 72.03 kB / 0.6186 GB, free: 8.406 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4526, allocations: 8 kB / 0.6186 GB, free: 8.398 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.4526, allocations: 11.98 kB / 0.6186 GB, free: 8.387 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-06/0.4526, allocations: 7.938 kB / 0.6186 GB, free: 8.379 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4526, allocations: 0 / 0.6186 GB, free: 8.379 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009383/0.4535, allocations: 0.6452 MB / 0.6192 GB, free: 7.699 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.4538, allocations: 127.3 kB / 0.6193 GB, free: 7.574 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.4539, allocations: 15.98 kB / 0.6194 GB, free: 7.559 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.4543, allocations: 15.94 kB / 0.6194 GB, free: 7.543 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.4544, allocations: 23.95 kB / 0.6194 GB, free: 7.52 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.4544, allocations: 28.05 kB / 0.6194 GB, free: 7.492 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.000766/0.4552, allocations: 0.5969 MB / 0.62 GB, free: 6.883 MB / 462.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4552, allocations: 0 / 0.62 GB, free: 6.883 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.001155/0.4563, allocations: 307.6 kB / 0.6203 GB, free: 6.582 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.0005629/0.4569, allocations: 303.4 kB / 0.6206 GB, free: 6.277 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0011/0.458, allocations: 0.6111 MB / 0.6212 GB, free: 5.672 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.458, allocations: 8.125 kB / 0.6212 GB, free: 5.664 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.4583, allocations: 144.9 kB / 0.6213 GB, free: 5.523 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.4602, allocations: 424 kB / 0.6217 GB, free: 5.121 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.4625, allocations: 1.494 MB / 0.6232 GB, free: 3.578 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.4631, allocations: 1.005 MB / 0.6242 GB, free: 2.543 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0008687/0.464, allocations: 314.9 kB / 0.6245 GB, free: 2.238 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4641, allocations: 71.42 kB / 0.6245 GB, free: 2.168 MB / 462.1 MB
Notification: Performance of SimCode: time 5.81e-07/0.4641, allocations: 0 / 0.6245 GB, free: 2.168 MB / 462.1 MB
Notification: Performance of Templates: time 0.0339/0.498, allocations: 16.89 MB / 0.641 GB, free: 1.375 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.7501415852457285]