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.001444/0.001444, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002259/0.002259, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.433/1.433, allocations: 230.2 MB / 257.8 MB, free: 8.523 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.2286/0.2286, allocations: 46.89 MB / 361.1 MB, free: 4.66 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-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.00235/0.00235, allocations: 80.14 kB / 0.4968 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3051, allocations: 65.98 MB / 0.5612 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02216/0.3273, allocations: 18.03 MB / 0.5788 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3377, allocations: 7.097 MB / 0.5857 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007626/0.3385, allocations: 23.88 kB / 0.5858 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3395, allocations: 393.5 kB / 0.5861 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.341, allocations: 0.6878 MB / 0.5868 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.3445, allocations: 1.349 MB / 0.5881 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.3475, allocations: 2.529 MB / 0.5906 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.3484, allocations: 0.5686 MB / 0.5911 GB, free: 6.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.3503, allocations: 1.059 MB / 0.5922 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.3515, allocations: 0.8057 MB / 0.593 GB, free: 4.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.3517, allocations: 88 kB / 0.593 GB, free: 4.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.353, allocations: 0.5928 MB / 0.5936 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004304/0.3535, allocations: 382.9 kB / 0.594 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005828/0.3541, allocations: 0.5134 MB / 0.5945 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.3562, allocations: 1.631 MB / 0.5961 GB, free: 1.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3562, allocations: 0 / 0.5961 GB, free: 1.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3562, allocations: 0 / 0.5961 GB, free: 1.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3562, allocations: 0 / 0.5961 GB, free: 1.199 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.002799/0.359, allocations: 1.309 MB / 0.5974 GB, free: 15.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.359, allocations: 8.031 kB / 0.5974 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/0.3596, allocations: 128.3 kB / 0.5975 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.3608, allocations: 0.6188 MB / 0.5981 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/0.361, allocations: 244.8 kB / 0.5983 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.3611, allocations: 84.33 kB / 0.5984 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.3632, allocations: 1.307 MB / 0.5997 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.3633, allocations: 7.938 kB / 0.5997 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.3634, allocations: 40 kB / 0.5997 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/0.3635, allocations: 45.23 kB / 0.5998 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3651, allocations: 0.9611 MB / 0.6007 GB, free: 12.2 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.00786/0.373, allocations: 7.094 MB / 0.6076 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.3736, allocations: 296.1 kB / 0.6079 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.3739, allocations: 156.4 kB / 0.6081 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003065/0.377, allocations: 2.826 MB / 0.6108 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.377, allocations: 38.8 kB / 0.6109 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.377, allocations: 4 kB / 0.6109 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002414/0.3794, allocations: 1.114 MB / 0.612 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.3795, allocations: 55.41 kB / 0.612 GB, free: 15.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3806, allocations: 0.872 MB / 0.6129 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.3807, allocations: 33.7 kB / 0.6129 GB, free: 14.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.3812, allocations: 0.5921 MB / 0.6135 GB, free: 14.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.3813, allocations: 146.9 kB / 0.6136 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.3816, allocations: 246.7 kB / 0.6139 GB, free: 13.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.3819, allocations: 394.7 kB / 0.6142 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.3823, allocations: 250.5 kB / 0.6145 GB, free: 13.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.3834, allocations: 0.966 MB / 0.6154 GB, free: 11.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.3851, allocations: 1.315 MB / 0.6167 GB, free: 10.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.3851, allocations: 8 kB / 0.6167 GB, free: 10.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00204/0.3872, allocations: 1.212 MB / 0.6179 GB, free: 8.789 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.3872, allocations: 20 kB / 0.6179 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.3872, allocations: 24 kB / 0.6179 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.702e-05/0.3873, allocations: 36 kB / 0.618 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.3881, allocations: 275.5 kB / 0.6182 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-05/0.3882, allocations: 47.8 kB / 0.6183 GB, free: 8.395 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006552/0.3888, allocations: 55.98 kB / 0.6183 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.355e-05/0.3889, allocations: 72 kB / 0.6184 GB, free: 8.27 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.0004693/0.3894, allocations: 345 kB / 0.6187 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.3895, allocations: 95.38 kB / 0.6188 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008991/0.3904, allocations: 479 kB / 0.6193 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3904, allocations: 3.984 kB / 0.6193 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3905, allocations: 11.94 kB / 0.6193 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.3908, allocations: 196.5 kB / 0.6195 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.3909, allocations: 8 kB / 0.6195 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.3913, allocations: 19.92 kB / 0.6195 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.3913, allocations: 19.97 kB / 0.6195 GB, free: 7.078 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007616/0.3921, allocations: 396.6 kB / 0.6199 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009914/0.3931, allocations: 0.693 MB / 0.6206 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002139/0.3933, allocations: 125.1 kB / 0.6207 GB, free: 5.852 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007714/0.394, allocations: 0.5732 MB / 0.6213 GB, free: 5.281 MB / 462.1 MB Notification: Performance of Backend: time 2.6e-07/0.394, allocations: 0 / 0.6213 GB, free: 5.281 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.396, allocations: 0.8304 MB / 0.6221 GB, free: 4.453 MB / 462.1 MB Notification: Performance of SimCode: time 0.003506/0.3995, allocations: 2.189 MB / 0.6242 GB, free: 2.215 MB / 462.1 MB Notification: Performance of Templates: time 0.03018/0.4297, allocations: 16.72 MB / 0.6405 GB, free: 1.598 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.4861332597211]