Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 113.2 kB / 20.43 MB, free: 1.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 215.7 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2353/0.2353, allocations: 46.94 MB / 360.9 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 59.91 kB / 0.4966 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3812, allocations: 66.04 MB / 0.5611 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02223/0.4034, allocations: 18.03 MB / 0.5787 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.414, allocations: 7.101 MB / 0.5857 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.415, allocations: 27.75 kB / 0.5857 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.4162, allocations: 385.5 kB / 0.5861 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.4182, allocations: 0.6956 MB / 0.5867 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.4221, allocations: 1.357 MB / 0.5881 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003841/0.426, allocations: 2.56 MB / 0.5906 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.4272, allocations: 0.569 MB / 0.5911 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.4297, allocations: 1.063 MB / 0.5922 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.4313, allocations: 0.8057 MB / 0.5929 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.4314, allocations: 88 kB / 0.593 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.4331, allocations: 0.6162 MB / 0.5936 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.4335, allocations: 382.9 kB / 0.594 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007158/0.4342, allocations: 0.5095 MB / 0.5945 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.4366, allocations: 1.619 MB / 0.5961 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4367, allocations: 0 / 0.5961 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4367, allocations: 4 kB / 0.5961 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.4367, allocations: 0 / 0.5961 GB, free: 0.5312 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.002708/0.4394, allocations: 1.237 MB / 0.5973 GB, free: 15.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4394, allocations: 8.031 kB / 0.5973 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/0.4399, allocations: 124.3 kB / 0.5974 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.4412, allocations: 0.5532 MB / 0.5979 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/0.4416, allocations: 407 kB / 0.5983 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.4417, allocations: 84.33 kB / 0.5984 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.4438, allocations: 1.301 MB / 0.5997 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.4438, allocations: 7.938 kB / 0.5997 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.444, allocations: 36 kB / 0.5997 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/0.444, allocations: 45.25 kB / 0.5998 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.4457, allocations: 0.9572 MB / 0.6007 GB, free: 11.52 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.008059/0.4538, allocations: 7.006 MB / 0.6075 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.4544, allocations: 296.9 kB / 0.6078 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.4547, allocations: 157.4 kB / 0.608 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/0.4565, allocations: 0.8559 MB / 0.6088 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.4565, allocations: 38.8 kB / 0.6089 GB, free: 2.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.043e-06/0.4566, allocations: 0 / 0.6089 GB, free: 2.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002487/0.459, allocations: 1.042 MB / 0.6099 GB, free: 1.605 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.4591, allocations: 55.41 kB / 0.6099 GB, free: 1.539 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4603, allocations: 0.8721 MB / 0.6108 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.4603, allocations: 33.7 kB / 0.6108 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.4608, allocations: 0.5921 MB / 0.6114 GB, free: 16 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.4609, allocations: 147.1 kB / 0.6115 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.4612, allocations: 242.6 kB / 0.6118 GB, free: 15.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.4614, allocations: 402.5 kB / 0.6121 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.4619, allocations: 246.4 kB / 0.6124 GB, free: 14.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4629, allocations: 0.97 MB / 0.6133 GB, free: 13.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.4646, allocations: 1.315 MB / 0.6146 GB, free: 11.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.4646, allocations: 8 kB / 0.6146 GB, free: 11.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002057/0.4666, allocations: 1.215 MB / 0.6158 GB, free: 10.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.4667, allocations: 16 kB / 0.6158 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.4667, allocations: 28 kB / 0.6158 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.951e-05/0.4668, allocations: 32 kB / 0.6159 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.4676, allocations: 276.2 kB / 0.6161 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.864e-05/0.4677, allocations: 55.8 kB / 0.6162 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/0.4684, allocations: 48 kB / 0.6162 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.4685, allocations: 75.98 kB / 0.6163 GB, free: 10.23 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.0004931/0.469, allocations: 333 kB / 0.6166 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.4691, allocations: 95.42 kB / 0.6167 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.4701, allocations: 490.9 kB / 0.6172 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4701, allocations: 7.938 kB / 0.6172 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4701, allocations: 4 kB / 0.6172 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.4701, allocations: 3.984 kB / 0.6172 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.472, allocations: 1.065 MB / 0.6182 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.472, allocations: 3.938 kB / 0.6182 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.4723, allocations: 71.91 kB / 0.6183 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.4723, allocations: 0 / 0.6183 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.4723, allocations: 12 kB / 0.6183 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.4723, allocations: 7.922 kB / 0.6183 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4723, allocations: 4.188 kB / 0.6183 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4734, allocations: 0.649 MB / 0.619 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.4737, allocations: 127.3 kB / 0.6191 GB, free: 7.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.4738, allocations: 15.98 kB / 0.6191 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.4742, allocations: 12 kB / 0.6191 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.4743, allocations: 23.95 kB / 0.6191 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.4743, allocations: 23.92 kB / 0.6192 GB, free: 7.184 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008189/0.4752, allocations: 0.597 MB / 0.6197 GB, free: 6.574 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4752, allocations: 0 / 0.6197 GB, free: 6.574 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001233/0.4764, allocations: 311.6 kB / 0.62 GB, free: 6.27 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.0005926/0.477, allocations: 306.6 kB / 0.6203 GB, free: 5.957 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.4782, allocations: 0.6146 MB / 0.6209 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4782, allocations: 0 / 0.6209 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.4785, allocations: 149.3 kB / 0.6211 GB, free: 5.203 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.4804, allocations: 431 kB / 0.6215 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.483, allocations: 1.49 MB / 0.6229 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.4838, allocations: 1.005 MB / 0.6239 GB, free: 2.223 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009103/0.4847, allocations: 315.8 kB / 0.6242 GB, free: 1.918 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.4848, allocations: 79.36 kB / 0.6243 GB, free: 1.84 MB / 462.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4848, allocations: 0 / 0.6243 GB, free: 1.84 MB / 462.1 MB Notification: Performance of Templates: time 0.03279/0.5176, allocations: 16.89 MB / 0.6408 GB, free: 1.105 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.971391046885401]