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.001669/0.001669, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001995/0.001995, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.451/1.451, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2235/0.2235, allocations: 46.89 MB / 361.1 MB, free: 4.629 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.002375/0.002375, allocations: 75.88 kB / 0.4967 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.37, allocations: 66 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02242/0.3924, allocations: 18.04 MB / 0.5788 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.4048, allocations: 7.089 MB / 0.5857 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009986/0.4058, allocations: 23.88 kB / 0.5858 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.407, allocations: 393.5 kB / 0.5861 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.4092, allocations: 0.6878 MB / 0.5868 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.4132, allocations: 1.344 MB / 0.5881 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003416/0.4166, allocations: 2.529 MB / 0.5906 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009176/0.4175, allocations: 0.5725 MB / 0.5911 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.4194, allocations: 1.055 MB / 0.5922 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.4207, allocations: 0.8057 MB / 0.593 GB, free: 4.383 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.4208, allocations: 88 kB / 0.593 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.4223, allocations: 0.5967 MB / 0.5936 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.4227, allocations: 386.9 kB / 0.594 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.4234, allocations: 0.5134 MB / 0.5945 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.4258, allocations: 1.62 MB / 0.5961 GB, free: 1.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4258, allocations: 4 kB / 0.5961 GB, free: 1.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4258, allocations: 0 / 0.5961 GB, free: 1.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.4258, allocations: 0 / 0.5961 GB, free: 1.176 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.00274/0.4285, allocations: 1.316 MB / 0.5974 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4286, allocations: 8.031 kB / 0.5974 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005103/0.4291, allocations: 124.3 kB / 0.5975 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4303, allocations: 0.6148 MB / 0.5981 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.4305, allocations: 248.8 kB / 0.5983 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.4306, allocations: 88.31 kB / 0.5984 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.4326, allocations: 1.301 MB / 0.5997 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.4327, allocations: 15.88 kB / 0.5997 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.4328, allocations: 36 kB / 0.5997 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.4329, allocations: 45.23 kB / 0.5998 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.4345, allocations: 0.9611 MB / 0.6007 GB, free: 12.16 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.007995/0.4425, allocations: 7.09 MB / 0.6076 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.4431, allocations: 296.2 kB / 0.6079 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.4433, allocations: 157.4 kB / 0.6081 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003037/0.4464, allocations: 2.823 MB / 0.6108 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4464, allocations: 42.8 kB / 0.6109 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.903e-06/0.4464, allocations: 0 / 0.6109 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002527/0.449, allocations: 1.117 MB / 0.612 GB, free: 15.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.449, allocations: 55.41 kB / 0.612 GB, free: 15.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.4502, allocations: 0.8759 MB / 0.6129 GB, free: 14.65 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.4502, allocations: 37.64 kB / 0.6129 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004903/0.4507, allocations: 0.5921 MB / 0.6135 GB, free: 14.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.4508, allocations: 142.9 kB / 0.6136 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.4511, allocations: 242.7 kB / 0.6139 GB, free: 13.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.4513, allocations: 402.7 kB / 0.6142 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.4518, allocations: 246.5 kB / 0.6145 GB, free: 12.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4528, allocations: 0.9621 MB / 0.6154 GB, free: 11.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.4544, allocations: 1.315 MB / 0.6167 GB, free: 9.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.4544, allocations: 8 kB / 0.6167 GB, free: 9.977 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001908/0.4563, allocations: 1.216 MB / 0.6179 GB, free: 8.754 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.4563, allocations: 16 kB / 0.6179 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.4564, allocations: 24 kB / 0.6179 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.927e-05/0.4564, allocations: 36 kB / 0.618 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/0.4572, allocations: 279.4 kB / 0.6182 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-05/0.4573, allocations: 47.8 kB / 0.6183 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/0.458, allocations: 55.98 kB / 0.6183 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4581, allocations: 72 kB / 0.6184 GB, free: 8.234 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.0004857/0.4586, allocations: 341.2 kB / 0.6187 GB, free: 7.891 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.4587, allocations: 91.44 kB / 0.6188 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009417/0.4597, allocations: 483.3 kB / 0.6193 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4597, allocations: 4 kB / 0.6193 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4597, allocations: 0 / 0.6193 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4597, allocations: 3.984 kB / 0.6193 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.4616, allocations: 1.241 MB / 0.6205 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4616, allocations: 4 kB / 0.6205 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.4619, allocations: 71.84 kB / 0.6206 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4619, allocations: 4 kB / 0.6206 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.4619, allocations: 8 kB / 0.6206 GB, free: 5.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.4619, allocations: 7.938 kB / 0.6206 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4619, allocations: 0 / 0.6206 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.4629, allocations: 0.6491 MB / 0.6212 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.4633, allocations: 204.4 kB / 0.6214 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4634, allocations: 15.98 kB / 0.6214 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.4638, allocations: 16.06 kB / 0.6214 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.4638, allocations: 23.97 kB / 0.6215 GB, free: 4.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.4639, allocations: 31.97 kB / 0.6215 GB, free: 4.875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008232/0.4647, allocations: 0.593 MB / 0.6221 GB, free: 4.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4647, allocations: 0 / 0.6221 GB, free: 4.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001111/0.4658, allocations: 303.6 kB / 0.6224 GB, free: 3.973 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.0007443/0.4666, allocations: 332.5 kB / 0.6227 GB, free: 3.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.4676, allocations: 0.6111 MB / 0.6233 GB, free: 3.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4676, allocations: 4 kB / 0.6233 GB, free: 3.035 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4678, allocations: 139.8 kB / 0.6234 GB, free: 2.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/0.4697, allocations: 425 kB / 0.6238 GB, free: 2.492 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4721, allocations: 1.501 MB / 0.6253 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.4728, allocations: 0.9972 MB / 0.6263 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000875/0.4737, allocations: 323.5 kB / 0.6266 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.4738, allocations: 79.36 kB / 0.6266 GB, free: 15.52 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4738, allocations: 0 / 0.6266 GB, free: 15.52 MB / 478.1 MB Notification: Performance of Templates: time 0.02928/0.5031, allocations: 16.62 MB / 0.6429 GB, free: 15.02 MB / 494.1 MB " [Timeout remaining time 659] 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 -s cvode -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.572672174312174]