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.001291/0.001291, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001424/0.001424, allocations: 204.7 kB / 25.13 MB, free: 3.602 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.419/1.419, allocations: 230.4 MB / 258.7 MB, free: 8.039 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.2268/0.2268, allocations: 46.93 MB / 362 MB, free: 4.309 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.002355/0.002355, allocations: 79.86 kB / 0.4978 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3367, allocations: 66.09 MB / 0.5623 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02307/0.3598, allocations: 17.84 MB / 0.5797 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.3709, allocations: 7.03 MB / 0.5866 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.3721, allocations: 27.75 kB / 0.5866 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3735, allocations: 389.6 kB / 0.587 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.3756, allocations: 0.6956 MB / 0.5877 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.3796, allocations: 1.354 MB / 0.589 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003957/0.3835, allocations: 2.56 MB / 0.5915 GB, free: 6.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.3847, allocations: 0.569 MB / 0.5921 GB, free: 5.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.387, allocations: 1.063 MB / 0.5931 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.3885, allocations: 0.8018 MB / 0.5939 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.3888, allocations: 88 kB / 0.594 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.3902, allocations: 491.2 kB / 0.5944 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005162/0.3907, allocations: 390.9 kB / 0.5948 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008114/0.3915, allocations: 0.5095 MB / 0.5953 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.3942, allocations: 1.579 MB / 0.5968 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3942, allocations: 0 / 0.5968 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3942, allocations: 0 / 0.5968 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.041e-05/0.3942, allocations: 0 / 0.5968 GB, free: 0.7734 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.002779/0.397, allocations: 1.237 MB / 0.5981 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.397, allocations: 8.031 kB / 0.5981 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.3976, allocations: 128.3 kB / 0.5982 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.3988, allocations: 0.5493 MB / 0.5987 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000598/0.3994, allocations: 407 kB / 0.5991 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.3995, allocations: 80.33 kB / 0.5992 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.4021, allocations: 1.707 MB / 0.6009 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.4021, allocations: 11.94 kB / 0.6009 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.4023, allocations: 36 kB / 0.6009 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.4025, allocations: 49.23 kB / 0.6009 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.4044, allocations: 0.9572 MB / 0.6019 GB, free: 11.25 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.008554/0.4129, allocations: 6.983 MB / 0.6087 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.4136, allocations: 300.3 kB / 0.609 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.4139, allocations: 161.4 kB / 0.6091 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/0.4158, allocations: 0.848 MB / 0.61 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.4158, allocations: 42.78 kB / 0.61 GB, free: 2.434 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.4158, allocations: 0 / 0.61 GB, free: 2.434 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002579/0.4184, allocations: 1.034 MB / 0.611 GB, free: 1.367 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.4185, allocations: 59.41 kB / 0.6111 GB, free: 1.297 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4197, allocations: 0.8682 MB / 0.6119 GB, free: 428 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.4197, allocations: 37.64 kB / 0.612 GB, free: 384 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/0.4202, allocations: 0.5922 MB / 0.6125 GB, free: 15.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.4203, allocations: 142.9 kB / 0.6127 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.4207, allocations: 246.7 kB / 0.6129 GB, free: 15.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.4209, allocations: 398.6 kB / 0.6133 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.4214, allocations: 246.5 kB / 0.6135 GB, free: 14.74 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.4227, allocations: 0.9738 MB / 0.6145 GB, free: 13.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.4244, allocations: 1.319 MB / 0.6158 GB, free: 11.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.4245, allocations: 8 kB / 0.6158 GB, free: 11.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002082/0.4265, allocations: 1.216 MB / 0.617 GB, free: 10.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.4266, allocations: 22.59 kB / 0.617 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.4266, allocations: 24 kB / 0.617 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.957e-05/0.4267, allocations: 36 kB / 0.617 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008301/0.4275, allocations: 275.5 kB / 0.6173 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.663e-05/0.4275, allocations: 47.8 kB / 0.6173 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.4282, allocations: 55.98 kB / 0.6174 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.551e-05/0.4283, allocations: 72 kB / 0.6175 GB, free: 9.977 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.0005054/0.4288, allocations: 345 kB / 0.6178 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.429, allocations: 91.44 kB / 0.6179 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/0.43, allocations: 490.3 kB / 0.6184 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.43, allocations: 0 / 0.6184 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.43, allocations: 4 kB / 0.6184 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.43, allocations: 7.984 kB / 0.6184 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.4319, allocations: 1.061 MB / 0.6194 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.4319, allocations: 4 kB / 0.6194 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.4322, allocations: 76.03 kB / 0.6195 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.4322, allocations: 4 kB / 0.6195 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.4322, allocations: 11.98 kB / 0.6195 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.4322, allocations: 7.938 kB / 0.6195 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4322, allocations: 0 / 0.6195 GB, free: 7.812 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4332, allocations: 0.649 MB / 0.6201 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.4336, allocations: 131.3 kB / 0.6203 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.4337, allocations: 12 kB / 0.6203 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.4341, allocations: 12 kB / 0.6203 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.4341, allocations: 23.95 kB / 0.6203 GB, free: 6.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/0.4342, allocations: 28.05 kB / 0.6203 GB, free: 6.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008363/0.435, allocations: 0.6008 MB / 0.6209 GB, free: 6.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.435, allocations: 0 / 0.6209 GB, free: 6.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001201/0.4362, allocations: 303.6 kB / 0.6212 GB, free: 6.016 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.0005652/0.4368, allocations: 310.7 kB / 0.6215 GB, free: 5.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.438, allocations: 0.6111 MB / 0.6221 GB, free: 5.094 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.438, allocations: 4 kB / 0.6221 GB, free: 5.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.4382, allocations: 144.7 kB / 0.6222 GB, free: 4.949 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.44, allocations: 422.7 kB / 0.6226 GB, free: 4.547 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4424, allocations: 1.498 MB / 0.6241 GB, free: 3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/0.4431, allocations: 1.005 MB / 0.6251 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008917/0.444, allocations: 315.6 kB / 0.6254 GB, free: 1.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4441, allocations: 71.38 kB / 0.6255 GB, free: 1.59 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4441, allocations: 0 / 0.6255 GB, free: 1.59 MB / 462.1 MB Notification: Performance of Templates: time 0.03097/0.4751, allocations: 16.9 MB / 0.642 GB, free: 0.7969 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 -s gbode -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/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-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.467249376932159]