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.001318/0.001318, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.00142/0.00142, allocations: 204.8 kB / 24.48 MB, free: 3.695 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.506/1.506, allocations: 230.6 MB / 258.2 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.2401/0.2401, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.001965/0.001965, allocations: 67.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3631, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02036/0.3834, allocations: 16.31 MB / 0.5777 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.3934, allocations: 6.498 MB / 0.5841 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.3945, allocations: 31.75 kB / 0.5841 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.3957, allocations: 361.6 kB / 0.5845 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.3976, allocations: 0.6996 MB / 0.5851 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.4014, allocations: 1.346 MB / 0.5865 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003602/0.405, allocations: 2.564 MB / 0.589 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.4063, allocations: 0.5651 MB / 0.5895 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.4089, allocations: 1.071 MB / 0.5906 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.4106, allocations: 0.798 MB / 0.5913 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.4108, allocations: 88 kB / 0.5914 GB, free: 5.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.4122, allocations: 491.2 kB / 0.5919 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.4127, allocations: 382.9 kB / 0.5923 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006771/0.4133, allocations: 446.2 kB / 0.5927 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.4159, allocations: 1.583 MB / 0.5942 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4159, allocations: 0 / 0.5942 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4159, allocations: 0 / 0.5942 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.4159, allocations: 4 kB / 0.5942 GB, free: 2.875 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.002652/0.4186, allocations: 1.233 MB / 0.5954 GB, free: 1.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4186, allocations: 8.031 kB / 0.5954 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004937/0.4191, allocations: 124.3 kB / 0.5956 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.4203, allocations: 0.5571 MB / 0.5961 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/0.4206, allocations: 411 kB / 0.5965 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.4208, allocations: 84.33 kB / 0.5966 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.4231, allocations: 1.705 MB / 0.5982 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.4231, allocations: 7.938 kB / 0.5983 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.4232, allocations: 40 kB / 0.5983 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.4233, allocations: 45.23 kB / 0.5983 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.4249, allocations: 0.9611 MB / 0.5993 GB, free: 13.35 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.007298/0.4322, allocations: 5.82 MB / 0.605 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.4328, allocations: 288.6 kB / 0.6052 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.4331, allocations: 161.4 kB / 0.6054 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/0.4349, allocations: 0.7822 MB / 0.6061 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.4349, allocations: 42.73 kB / 0.6062 GB, free: 6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.435, allocations: 0 / 0.6062 GB, free: 6 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002436/0.4374, allocations: 1.034 MB / 0.6072 GB, free: 4.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.4374, allocations: 55.41 kB / 0.6073 GB, free: 4.867 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.4384, allocations: 0.8004 MB / 0.608 GB, free: 4.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.4385, allocations: 37.7 kB / 0.6081 GB, free: 4.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.4389, allocations: 0.5957 MB / 0.6087 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.4391, allocations: 146.9 kB / 0.6088 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.4394, allocations: 242.7 kB / 0.609 GB, free: 3.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.4396, allocations: 386.7 kB / 0.6094 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.44, allocations: 242.5 kB / 0.6096 GB, free: 2.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.441, allocations: 0.9621 MB / 0.6106 GB, free: 1.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.4426, allocations: 1.315 MB / 0.6118 GB, free: 15.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.4426, allocations: 8 kB / 0.6119 GB, free: 15.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001961/0.4446, allocations: 1.208 MB / 0.613 GB, free: 14.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.4446, allocations: 18.19 kB / 0.6131 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.4447, allocations: 24 kB / 0.6131 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.262e-05/0.4447, allocations: 43.92 kB / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/0.4456, allocations: 276.2 kB / 0.6134 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.595e-05/0.4456, allocations: 51.78 kB / 0.6134 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.4463, allocations: 56 kB / 0.6135 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/0.4464, allocations: 68 kB / 0.6135 GB, free: 13.65 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.0004832/0.4469, allocations: 337.5 kB / 0.6139 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.447, allocations: 79.48 kB / 0.6139 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009435/0.448, allocations: 482.7 kB / 0.6144 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.448, allocations: 4 kB / 0.6144 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.448, allocations: 0 / 0.6144 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.448, allocations: 3.984 kB / 0.6144 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.4497, allocations: 0.9405 MB / 0.6153 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4497, allocations: 4.188 kB / 0.6153 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.45, allocations: 71.91 kB / 0.6154 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.45, allocations: 4 kB / 0.6154 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.45, allocations: 19.92 kB / 0.6154 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.45, allocations: 7.938 kB / 0.6154 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.45, allocations: 0 / 0.6154 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.451, allocations: 0.6451 MB / 0.6161 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.4512, allocations: 107.5 kB / 0.6162 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.4513, allocations: 11.94 kB / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.4517, allocations: 15.98 kB / 0.6162 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.4517, allocations: 28.03 kB / 0.6162 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.4518, allocations: 23.97 kB / 0.6162 GB, free: 10.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006233/0.4524, allocations: 0.4989 MB / 0.6167 GB, free: 10.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4524, allocations: 0 / 0.6167 GB, free: 10.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001196/0.4536, allocations: 299.6 kB / 0.617 GB, free: 9.992 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.0006078/0.4542, allocations: 313.4 kB / 0.6173 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.4553, allocations: 0.6072 MB / 0.6179 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4553, allocations: 12 kB / 0.6179 GB, free: 9.062 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.4556, allocations: 140.8 kB / 0.6181 GB, free: 8.926 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.457, allocations: 296.2 kB / 0.6183 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.4595, allocations: 1.515 MB / 0.6198 GB, free: 7.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.4599, allocations: 400.7 kB / 0.6202 GB, free: 6.652 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.4601, allocations: 79.42 kB / 0.6203 GB, free: 6.574 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4601, allocations: 4 kB / 0.6203 GB, free: 6.57 MB / 462.1 MB Notification: Performance of Templates: time 0.02234/0.4824, allocations: 13.62 MB / 0.6336 GB, free: 9.023 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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: 9.674297302000923]