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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 111.3 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002279/0.002279, allocations: 192.8 kB / 22.98 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2441/0.2441, allocations: 44.24 MB / 330.2 MB, free: 9.645 MB / 270.1 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "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.002624/0.002624, allocations: 83.83 kB / 468 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.149, allocations: 61.02 MB / 0.5166 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02314/0.1722, allocations: 17.91 MB / 0.5341 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3284/0.5006, allocations: 7.082 MB / 0.541 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.5017, allocations: 30.09 kB / 0.541 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.5033, allocations: 385.8 kB / 0.5414 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.5056, allocations: 0.6841 MB / 0.542 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.5098, allocations: 1.359 MB / 0.5434 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004468/0.5143, allocations: 2.547 MB / 0.5459 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.5158, allocations: 0.5779 MB / 0.5464 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003051/0.5188, allocations: 1.058 MB / 0.5475 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.5208, allocations: 0.7966 MB / 0.5482 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.5211, allocations: 91.06 kB / 0.5483 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.5233, allocations: 0.5691 MB / 0.5489 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006045/0.5239, allocations: 376.9 kB / 0.5492 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.5249, allocations: 0.5141 MB / 0.5497 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004356/0.5292, allocations: 1.546 MB / 0.5513 GB, free: 9.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.5292, allocations: 2.25 kB / 0.5513 GB, free: 9.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5292, allocations: 4 kB / 0.5513 GB, free: 9.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.7e-05/0.5293, allocations: 1.125 kB / 0.5513 GB, free: 9.324 MB / 414.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.003372/0.5326, allocations: 1.236 MB / 0.5525 GB, free: 8.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.929e-05/0.5327, allocations: 10.31 kB / 0.5525 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006591/0.5334, allocations: 124.5 kB / 0.5526 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.5348, allocations: 0.5541 MB / 0.5531 GB, free: 8.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.5351, allocations: 253.8 kB / 0.5534 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.5352, allocations: 77.75 kB / 0.5535 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.5381, allocations: 1.307 MB / 0.5547 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.5381, allocations: 6.562 kB / 0.5547 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.5383, allocations: 38.78 kB / 0.5548 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.479e-05/0.5384, allocations: 42.02 kB / 0.5548 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.5408, allocations: 0.97 MB / 0.5558 GB, free: 7.793 MB / 414.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.007732/0.5485, allocations: 7.009 MB / 0.5626 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.5492, allocations: 302.5 kB / 0.5629 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.5495, allocations: 155.5 kB / 0.563 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002264/0.5517, allocations: 0.8637 MB / 0.5639 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.5518, allocations: 38.27 kB / 0.5639 GB, free: 1.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.5518, allocations: 0 / 0.5639 GB, free: 1.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00284/0.5546, allocations: 1.05 MB / 0.5649 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.5547, allocations: 59.38 kB / 0.565 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.5559, allocations: 0.8774 MB / 0.5659 GB, free: 380 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.556, allocations: 33.02 kB / 0.5659 GB, free: 344 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004259/0.5564, allocations: 0.5912 MB / 0.5665 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.5565, allocations: 146 kB / 0.5666 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.5569, allocations: 245 kB / 0.5668 GB, free: 15.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.5571, allocations: 396.4 kB / 0.5672 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.5576, allocations: 242.1 kB / 0.5674 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.5589, allocations: 0.9682 MB / 0.5684 GB, free: 14.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.561, allocations: 1.325 MB / 0.5697 GB, free: 12.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/0.561, allocations: 6.719 kB / 0.5697 GB, free: 12.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002774/0.5638, allocations: 1.212 MB / 0.5709 GB, free: 12.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.5639, allocations: 15.97 kB / 0.5709 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.657e-05/0.5639, allocations: 27.38 kB / 0.5709 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.367e-05/0.564, allocations: 39.03 kB / 0.571 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/0.565, allocations: 274.5 kB / 0.5712 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.857e-05/0.5651, allocations: 53.92 kB / 0.5713 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.5662, allocations: 49.59 kB / 0.5713 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.5663, allocations: 71.34 kB / 0.5714 GB, free: 12.29 MB / 430.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.0006913/0.567, allocations: 332.6 kB / 0.5717 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.5673, allocations: 98.66 kB / 0.5718 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.5684, allocations: 492.9 kB / 0.5723 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.5684, allocations: 3.281 kB / 0.5723 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.5684, allocations: 5.031 kB / 0.5723 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5684, allocations: 2.25 kB / 0.5723 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.5706, allocations: 1.067 MB / 0.5733 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.5706, allocations: 2.625 kB / 0.5733 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.571, allocations: 73.34 kB / 0.5734 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.571, allocations: 6.656 kB / 0.5734 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.571, allocations: 14.36 kB / 0.5734 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.571, allocations: 8.594 kB / 0.5734 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.571, allocations: 2.188 kB / 0.5734 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.5721, allocations: 0.6612 MB / 0.5741 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.5725, allocations: 127 kB / 0.5742 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5726, allocations: 8.531 kB / 0.5742 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.573, allocations: 19.53 kB / 0.5742 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.5731, allocations: 23.16 kB / 0.5742 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.5731, allocations: 25.12 kB / 0.5743 GB, free: 10.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00098/0.5741, allocations: 0.6003 MB / 0.5748 GB, free: 10.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5741, allocations: 0 / 0.5748 GB, free: 10.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001566/0.5757, allocations: 301.5 kB / 0.5751 GB, free: 10.38 MB / 430.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.0008546/0.5765, allocations: 334.9 kB / 0.5755 GB, free: 10.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.5778, allocations: 0.6155 MB / 0.5761 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.5778, allocations: 3.938 kB / 0.5761 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.5781, allocations: 144 kB / 0.5762 GB, free: 9.965 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.5799, allocations: 430 kB / 0.5766 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.5827, allocations: 1.495 MB / 0.5781 GB, free: 8.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/0.5834, allocations: 0.9998 MB / 0.579 GB, free: 8.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001006/0.5844, allocations: 319.4 kB / 0.5793 GB, free: 7.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.5846, allocations: 68.75 kB / 0.5794 GB, free: 7.906 MB / 430.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5846, allocations: 8.969 kB / 0.5794 GB, free: 7.898 MB / 430.1 MB Notification: Performance of Templates: time 0.03574/0.6203, allocations: 16.93 MB / 0.596 GB, free: 12.16 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.030585452914238]