Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001534/0.001534, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001664/0.001664, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.447/1.447, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2532/0.2532, allocations: 46.93 MB / 361.4 MB, free: 4.395 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 83.84 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3557, allocations: 66.04 MB / 0.5617 GB, free: 4.535 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02215/0.3778, allocations: 18.03 MB / 0.5793 GB, free: 2.434 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01084/0.3887, allocations: 7.089 MB / 0.5862 GB, free: 11.32 MB / 430.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.3897, allocations: 31.75 kB / 0.5862 GB, free: 11.29 MB / 430.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001111/0.3908, allocations: 385.5 kB / 0.5866 GB, free: 10.91 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001711/0.3925, allocations: 0.6995 MB / 0.5873 GB, free: 10.2 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.3961, allocations: 1.348 MB / 0.5886 GB, free: 8.867 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003669/0.3997, allocations: 2.56 MB / 0.5911 GB, free: 6.301 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009646/0.4007, allocations: 0.5689 MB / 0.5916 GB, free: 5.719 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.4029, allocations: 1.071 MB / 0.5927 GB, free: 4.645 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.404, allocations: 0.8019 MB / 0.5935 GB, free: 3.84 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.4042, allocations: 88 kB / 0.5935 GB, free: 3.754 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.4056, allocations: 0.6162 MB / 0.5942 GB, free: 3.137 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.406, allocations: 386.9 kB / 0.5945 GB, free: 2.758 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005571/0.4066, allocations: 0.5134 MB / 0.595 GB, free: 2.242 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002224/0.4088, allocations: 1.615 MB / 0.5966 GB, free: 0.625 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4088, allocations: 0 / 0.5966 GB, free: 0.625 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.673e-06/0.4088, allocations: 0 / 0.5966 GB, free: 0.625 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 1.415e-05/0.4088, allocations: 0 / 0.5966 GB, free: 0.625 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.002765/0.4116, allocations: 1.233 MB / 0.5978 GB, free: 15.36 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4116, allocations: 12.03 kB / 0.5978 GB, free: 15.34 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004685/0.4121, allocations: 124.3 kB / 0.5979 GB, free: 15.22 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4132, allocations: 0.5492 MB / 0.5985 GB, free: 14.65 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.4134, allocations: 256.7 kB / 0.5987 GB, free: 14.36 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.4135, allocations: 80.33 kB / 0.5988 GB, free: 14.29 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002191/0.4157, allocations: 1.297 MB / 0.6001 GB, free: 12.85 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.4158, allocations: 7.938 kB / 0.6001 GB, free: 12.84 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.4159, allocations: 47.98 kB / 0.6001 GB, free: 12.8 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/0.4159, allocations: 37.3 kB / 0.6001 GB, free: 12.76 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.4175, allocations: 0.9649 MB / 0.6011 GB, free: 11.8 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.00754/0.4251, allocations: 7.006 MB / 0.6079 GB, free: 4.332 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.4256, allocations: 288.7 kB / 0.6082 GB, free: 4.043 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.4259, allocations: 168.8 kB / 0.6084 GB, free: 3.879 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001711/0.4276, allocations: 0.8481 MB / 0.6092 GB, free: 3.012 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.4277, allocations: 35.02 kB / 0.6092 GB, free: 2.969 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.4277, allocations: 7.938 kB / 0.6092 GB, free: 2.961 MB / 446.1 MB
Notification: Performance of matching and sorting (n=34): time 0.002277/0.4299, allocations: 1.042 MB / 0.6103 GB, free: 1.887 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.43, allocations: 59.41 kB / 0.6103 GB, free: 1.816 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.4311, allocations: 0.8721 MB / 0.6112 GB, free: 0.9336 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.4311, allocations: 37.7 kB / 0.6112 GB, free: 0.8906 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.4316, allocations: 0.5883 MB / 0.6118 GB, free: 300 kB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4317, allocations: 138.9 kB / 0.6119 GB, free: 160 kB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.432, allocations: 242.7 kB / 0.6121 GB, free: 15.91 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002146/0.4322, allocations: 402.7 kB / 0.6125 GB, free: 15.51 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.4327, allocations: 242.5 kB / 0.6128 GB, free: 15.27 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.4337, allocations: 0.97 MB / 0.6137 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.4355, allocations: 1.319 MB / 0.615 GB, free: 12.26 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.4355, allocations: 4 kB / 0.615 GB, free: 12.25 MB / 462.1 MB
Notification: Performance of matching and sorting (n=154) (initialization): time 0.001928/0.4375, allocations: 1.212 MB / 0.6162 GB, free: 11.04 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4375, allocations: 23.97 kB / 0.6162 GB, free: 11.01 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/0.4375, allocations: 28 kB / 0.6162 GB, free: 10.98 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 4.59e-05/0.4376, allocations: 36 kB / 0.6163 GB, free: 10.95 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/0.4384, allocations: 279.4 kB / 0.6165 GB, free: 10.68 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.942e-05/0.4385, allocations: 55.78 kB / 0.6166 GB, free: 10.62 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.4391, allocations: 48 kB / 0.6166 GB, free: 10.57 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.4392, allocations: 72 kB / 0.6167 GB, free: 10.5 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.0004518/0.4397, allocations: 341 kB / 0.617 GB, free: 10.16 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.4398, allocations: 91.44 kB / 0.6171 GB, free: 10.07 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.4408, allocations: 479.8 kB / 0.6176 GB, free: 9.594 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.4408, allocations: 11.98 kB / 0.6176 GB, free: 9.582 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4408, allocations: 0 / 0.6176 GB, free: 9.582 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4409, allocations: 4 kB / 0.6176 GB, free: 9.578 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.4426, allocations: 1.065 MB / 0.6186 GB, free: 8.445 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4426, allocations: 4 kB / 0.6186 GB, free: 8.441 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.4429, allocations: 76.02 kB / 0.6187 GB, free: 8.367 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.4429, allocations: 4 kB / 0.6187 GB, free: 8.363 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.4429, allocations: 12 kB / 0.6187 GB, free: 8.352 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.4429, allocations: 7.984 kB / 0.6187 GB, free: 8.344 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4429, allocations: 0 / 0.6187 GB, free: 8.344 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/0.4439, allocations: 0.6527 MB / 0.6194 GB, free: 7.656 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.4442, allocations: 135.3 kB / 0.6195 GB, free: 7.523 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4443, allocations: 8 kB / 0.6195 GB, free: 7.516 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.4446, allocations: 15.98 kB / 0.6195 GB, free: 7.5 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.4447, allocations: 20.03 kB / 0.6195 GB, free: 7.48 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.4447, allocations: 31.97 kB / 0.6196 GB, free: 7.449 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.0008491/0.4456, allocations: 0.5969 MB / 0.6201 GB, free: 6.84 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4456, allocations: 0 / 0.6201 GB, free: 6.84 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.001127/0.4467, allocations: 303.6 kB / 0.6204 GB, free: 6.543 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.0005378/0.4472, allocations: 302.7 kB / 0.6207 GB, free: 6.234 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.001172/0.4484, allocations: 0.615 MB / 0.6213 GB, free: 5.625 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4484, allocations: 4 kB / 0.6213 GB, free: 5.621 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.4487, allocations: 136.8 kB / 0.6215 GB, free: 5.488 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.4504, allocations: 435.8 kB / 0.6219 GB, free: 5.074 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.4529, allocations: 1.498 MB / 0.6233 GB, free: 3.527 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.4537, allocations: 0.9971 MB / 0.6243 GB, free: 2.5 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.000937/0.4546, allocations: 312.2 kB / 0.6246 GB, free: 2.195 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.4548, allocations: 75.42 kB / 0.6247 GB, free: 2.121 MB / 462.1 MB
Notification: Performance of SimCode: time 7.81e-07/0.4548, allocations: 0 / 0.6247 GB, free: 2.121 MB / 462.1 MB
Notification: Performance of Templates: time 0.03179/0.4866, allocations: 16.9 MB / 0.6412 GB, free: 1.328 MB / 478.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.571163774468005]