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.001707/0.001707, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002729/0.002729, allocations: 213.6 kB / 23.73 MB, free: 4.156 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2708/0.2708, allocations: 46.96 MB / 360.9 MB, free: 4.062 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.002269/0.002269, allocations: 59.91 kB / 0.4966 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.317, allocations: 66.04 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02274/0.3397, allocations: 16.32 MB / 0.577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009894/0.3496, allocations: 6.486 MB / 0.5833 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008411/0.3505, allocations: 27.75 kB / 0.5834 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.3517, allocations: 369.6 kB / 0.5837 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.3535, allocations: 0.6995 MB / 0.5844 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.3573, allocations: 1.342 MB / 0.5857 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.3605, allocations: 2.547 MB / 0.5882 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.3615, allocations: 0.5651 MB / 0.5888 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.3637, allocations: 1.075 MB / 0.5898 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.3651, allocations: 0.7784 MB / 0.5906 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.3654, allocations: 88 kB / 0.5907 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3668, allocations: 483.2 kB / 0.5911 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005333/0.3673, allocations: 382.9 kB / 0.5915 GB, free: 4.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007866/0.3681, allocations: 454.2 kB / 0.5919 GB, free: 4.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.3704, allocations: 1.579 MB / 0.5935 GB, free: 2.926 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3704, allocations: 0 / 0.5935 GB, free: 2.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3704, allocations: 0 / 0.5935 GB, free: 2.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.3704, allocations: 0 / 0.5935 GB, free: 2.926 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.002483/0.3729, allocations: 1.233 MB / 0.5947 GB, free: 1.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3729, allocations: 8.031 kB / 0.5947 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004756/0.3734, allocations: 132.3 kB / 0.5948 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.3746, allocations: 0.5493 MB / 0.5953 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.3749, allocations: 407 kB / 0.5957 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.375, allocations: 88.31 kB / 0.5958 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.3773, allocations: 1.699 MB / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.3774, allocations: 7.938 kB / 0.5975 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.3775, allocations: 39.98 kB / 0.5975 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.3776, allocations: 49.3 kB / 0.5976 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.3792, allocations: 0.9571 MB / 0.5985 GB, free: 13.41 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.00681/0.386, allocations: 5.82 MB / 0.6042 GB, free: 7.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.3866, allocations: 300.5 kB / 0.6045 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.3869, allocations: 153.4 kB / 0.6046 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/0.3885, allocations: 0.7784 MB / 0.6054 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.3886, allocations: 38.73 kB / 0.6054 GB, free: 6.059 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.3886, allocations: 0 / 0.6054 GB, free: 6.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00247/0.391, allocations: 1.038 MB / 0.6064 GB, free: 4.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.3911, allocations: 55.41 kB / 0.6065 GB, free: 4.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009674/0.392, allocations: 0.7927 MB / 0.6072 GB, free: 4.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.3921, allocations: 29.7 kB / 0.6073 GB, free: 4.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000526/0.3926, allocations: 0.6035 MB / 0.6079 GB, free: 3.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3927, allocations: 146.9 kB / 0.608 GB, free: 3.328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.393, allocations: 234.7 kB / 0.6082 GB, free: 3.094 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.3932, allocations: 394.6 kB / 0.6086 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/0.3936, allocations: 242.5 kB / 0.6088 GB, free: 2.461 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.3947, allocations: 0.966 MB / 0.6098 GB, free: 1.137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.3962, allocations: 1.319 MB / 0.6111 GB, free: 15.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.3962, allocations: 8 kB / 0.6111 GB, free: 15.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001895/0.3981, allocations: 1.204 MB / 0.6122 GB, free: 14.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.3982, allocations: 16 kB / 0.6123 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/0.3982, allocations: 32.16 kB / 0.6123 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.454e-05/0.3982, allocations: 32 kB / 0.6123 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/0.399, allocations: 279.4 kB / 0.6126 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.977e-05/0.3991, allocations: 51.8 kB / 0.6126 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.3997, allocations: 48 kB / 0.6127 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.3998, allocations: 75.98 kB / 0.6128 GB, free: 13.71 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.000433/0.4002, allocations: 329.6 kB / 0.6131 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4003, allocations: 83.47 kB / 0.6132 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008957/0.4012, allocations: 482.7 kB / 0.6136 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4012, allocations: 4 kB / 0.6136 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4012, allocations: 0 / 0.6136 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4012, allocations: 0 / 0.6136 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.4029, allocations: 0.9521 MB / 0.6145 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4029, allocations: 7.938 kB / 0.6146 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.4032, allocations: 75.89 kB / 0.6146 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4032, allocations: 0 / 0.6146 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.4032, allocations: 15.94 kB / 0.6146 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4032, allocations: 0 / 0.6146 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4032, allocations: 4 kB / 0.6146 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009733/0.4042, allocations: 0.6492 MB / 0.6153 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.4044, allocations: 107.5 kB / 0.6154 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.4045, allocations: 19.88 kB / 0.6154 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.4049, allocations: 12 kB / 0.6154 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.4049, allocations: 23.95 kB / 0.6154 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.405, allocations: 27.92 kB / 0.6155 GB, free: 10.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000611/0.4056, allocations: 0.4912 MB / 0.6159 GB, free: 10.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4056, allocations: 4 kB / 0.6159 GB, free: 10.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001097/0.4067, allocations: 295.7 kB / 0.6162 GB, free: 10.05 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.000554/0.4072, allocations: 313.3 kB / 0.6165 GB, free: 9.734 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4082, allocations: 0.6098 MB / 0.6171 GB, free: 9.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4082, allocations: 4 kB / 0.6171 GB, free: 9.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.4085, allocations: 142.4 kB / 0.6173 GB, free: 8.988 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.4099, allocations: 297.8 kB / 0.6175 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.4122, allocations: 1.471 MB / 0.619 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.4126, allocations: 408.7 kB / 0.6194 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007691/0.4134, allocations: 293.1 kB / 0.6196 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.4135, allocations: 71.42 kB / 0.6197 GB, free: 6.406 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4135, allocations: 4 kB / 0.6197 GB, free: 6.402 MB / 462.1 MB Notification: Performance of Templates: time 0.02468/0.4382, allocations: 14.42 MB / 0.6338 GB, free: 8.277 MB / 478.1 MB " [Timeout remaining time 660] 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.529242614284158]