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.006222/0.006222, allocations: 106.5 kB / 21.98 MB, free: 5.227 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.00171/0.00171, allocations: 222.4 kB / 25.3 MB, free: 3.191 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.429/1.429, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2332/0.2332, allocations: 46.92 MB / 362.3 MB, free: 4.16 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.00233/0.00233, allocations: 83.86 kB / 0.4982 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3373, allocations: 66.08 MB / 0.5627 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02124/0.3585, allocations: 18.02 MB / 0.5803 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.3689, allocations: 7.101 MB / 0.5873 GB, free: 11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000931/0.3699, allocations: 27.75 kB / 0.5873 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.3711, allocations: 385.6 kB / 0.5877 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.373, allocations: 0.6956 MB / 0.5883 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003947/0.3769, allocations: 1.36 MB / 0.5897 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003785/0.3807, allocations: 2.556 MB / 0.5922 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.3818, allocations: 0.565 MB / 0.5927 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/0.384, allocations: 1.063 MB / 0.5938 GB, free: 4.336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.3853, allocations: 0.8019 MB / 0.5945 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.3855, allocations: 88 kB / 0.5946 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.387, allocations: 0.6162 MB / 0.5952 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.3875, allocations: 386.9 kB / 0.5956 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006251/0.3881, allocations: 0.5173 MB / 0.5961 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.3906, allocations: 1.615 MB / 0.5977 GB, free: 320 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3906, allocations: 0 / 0.5977 GB, free: 320 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3906, allocations: 0 / 0.5977 GB, free: 320 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.3906, allocations: 0 / 0.5977 GB, free: 320 kB / 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.002711/0.3933, allocations: 1.229 MB / 0.5989 GB, free: 15.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3934, allocations: 12.03 kB / 0.5989 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004993/0.3939, allocations: 128.3 kB / 0.599 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.3951, allocations: 0.5493 MB / 0.5995 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.3953, allocations: 252.8 kB / 0.5998 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.3955, allocations: 80.33 kB / 0.5999 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.3975, allocations: 1.297 MB / 0.6011 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.3976, allocations: 7.938 kB / 0.6011 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.3977, allocations: 51.97 kB / 0.6012 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-05/0.3977, allocations: 41.23 kB / 0.6012 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.3994, allocations: 0.9611 MB / 0.6022 GB, free: 11.48 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.00808/0.4075, allocations: 7.002 MB / 0.609 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.4081, allocations: 296.1 kB / 0.6093 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.4084, allocations: 157.4 kB / 0.6094 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/0.4101, allocations: 0.8481 MB / 0.6103 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.4102, allocations: 38.8 kB / 0.6103 GB, free: 2.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.4102, allocations: 0 / 0.6103 GB, free: 2.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00246/0.4126, allocations: 1.042 MB / 0.6113 GB, free: 1.582 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.4127, allocations: 59.34 kB / 0.6114 GB, free: 1.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.4138, allocations: 0.8723 MB / 0.6122 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.4139, allocations: 37.7 kB / 0.6123 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005319/0.4144, allocations: 0.5921 MB / 0.6128 GB, free: 15.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.4146, allocations: 146.8 kB / 0.613 GB, free: 15.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.4149, allocations: 246.7 kB / 0.6132 GB, free: 15.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.4152, allocations: 394.7 kB / 0.6136 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.4156, allocations: 246.5 kB / 0.6138 GB, free: 14.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.4167, allocations: 0.97 MB / 0.6148 GB, free: 13.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.4185, allocations: 1.319 MB / 0.6161 GB, free: 11.94 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.4185, allocations: 8 kB / 0.6161 GB, free: 11.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002108/0.4206, allocations: 1.212 MB / 0.6173 GB, free: 10.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.4207, allocations: 18.34 kB / 0.6173 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.4207, allocations: 32.08 kB / 0.6173 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.236e-05/0.4207, allocations: 36 kB / 0.6173 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.4215, allocations: 279.5 kB / 0.6176 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.646e-05/0.4216, allocations: 47.8 kB / 0.6177 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.4223, allocations: 55.98 kB / 0.6177 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/0.4224, allocations: 72 kB / 0.6178 GB, free: 10.19 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.0005163/0.4229, allocations: 337 kB / 0.6181 GB, free: 9.848 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.423, allocations: 91.44 kB / 0.6182 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.4241, allocations: 494.8 kB / 0.6187 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4241, allocations: 4 kB / 0.6187 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4241, allocations: 4 kB / 0.6187 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4241, allocations: 3.984 kB / 0.6187 GB, free: 9.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.4259, allocations: 1.076 MB / 0.6197 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4259, allocations: 0 / 0.6197 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.4262, allocations: 63.91 kB / 0.6198 GB, free: 8.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4262, allocations: 12.12 kB / 0.6198 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.4262, allocations: 11.98 kB / 0.6198 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.4262, allocations: 4 kB / 0.6198 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4262, allocations: 4 kB / 0.6198 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4273, allocations: 0.649 MB / 0.6204 GB, free: 7.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.4275, allocations: 131.2 kB / 0.6206 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/0.4276, allocations: 8 kB / 0.6206 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.428, allocations: 15.94 kB / 0.6206 GB, free: 7.184 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.428, allocations: 23.95 kB / 0.6206 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.4281, allocations: 23.98 kB / 0.6206 GB, free: 7.137 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008124/0.4289, allocations: 0.6009 MB / 0.6212 GB, free: 6.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4289, allocations: 4 kB / 0.6212 GB, free: 6.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001139/0.4301, allocations: 299.6 kB / 0.6215 GB, free: 6.227 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.0005764/0.4306, allocations: 298.7 kB / 0.6218 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.4318, allocations: 0.6227 MB / 0.6224 GB, free: 5.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.4318, allocations: 4.125 kB / 0.6224 GB, free: 5.301 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.432, allocations: 136.8 kB / 0.6225 GB, free: 5.168 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.4337, allocations: 424.4 kB / 0.6229 GB, free: 4.762 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.4362, allocations: 1.543 MB / 0.6245 GB, free: 3.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/0.437, allocations: 0.9971 MB / 0.6254 GB, free: 2.137 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.4372, allocations: 91.36 kB / 0.6255 GB, free: 2.047 MB / 462.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4372, allocations: 0 / 0.6255 GB, free: 2.047 MB / 462.1 MB Notification: Performance of Templates: time 0.02567/0.4628, allocations: 14.85 MB / 0.64 GB, free: 3.27 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/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: 9.93710576184094]