Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001369/0.001369, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001589/0.001589, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.94 MB / 359.6 MB, free: 6.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 67.91 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3729, allocations: 65.47 MB / 0.5582 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02255/0.3954, allocations: 16.31 MB / 0.5741 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.4057, allocations: 6.501 MB / 0.5805 GB, free: 452 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.4068, allocations: 27.75 kB / 0.5805 GB, free: 424 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.4081, allocations: 369.6 kB / 0.5808 GB, free: 52 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.4102, allocations: 0.6995 MB / 0.5815 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.4142, allocations: 1.342 MB / 0.5828 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003568/0.4177, allocations: 2.54 MB / 0.5853 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.4189, allocations: 0.5729 MB / 0.5859 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.4213, allocations: 1.071 MB / 0.5869 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.4228, allocations: 0.7745 MB / 0.5877 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.423, allocations: 84 kB / 0.5878 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.4245, allocations: 487.2 kB / 0.5882 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000473/0.4249, allocations: 382.9 kB / 0.5886 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006514/0.4256, allocations: 442.3 kB / 0.589 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.4282, allocations: 1.587 MB / 0.5906 GB, free: 6.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4282, allocations: 0 / 0.5906 GB, free: 6.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4282, allocations: 4 kB / 0.5906 GB, free: 6.074 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.4282, allocations: 0 / 0.5906 GB, free: 6.074 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.00273/0.4309, allocations: 1.237 MB / 0.5918 GB, free: 4.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.431, allocations: 8.031 kB / 0.5918 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/0.4315, allocations: 124.3 kB / 0.5919 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.4327, allocations: 0.5571 MB / 0.5924 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.4331, allocations: 410.9 kB / 0.5928 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4332, allocations: 80.33 kB / 0.5929 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.4356, allocations: 1.703 MB / 0.5946 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.4356, allocations: 7.938 kB / 0.5946 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4357, allocations: 40 kB / 0.5946 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.4358, allocations: 41.25 kB / 0.5947 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.4375, allocations: 0.961 MB / 0.5956 GB, free: 0.5547 MB / 430.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.007572/0.445, allocations: 5.828 MB / 0.6013 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.4456, allocations: 296.6 kB / 0.6016 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.4459, allocations: 156.5 kB / 0.6017 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/0.4476, allocations: 0.7743 MB / 0.6025 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.4477, allocations: 46.67 kB / 0.6025 GB, free: 9.199 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.4477, allocations: 0 / 0.6025 GB, free: 9.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002442/0.4501, allocations: 1.026 MB / 0.6035 GB, free: 8.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.4502, allocations: 55.41 kB / 0.6036 GB, free: 8.074 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/0.4511, allocations: 0.8005 MB / 0.6044 GB, free: 7.262 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.4512, allocations: 29.7 kB / 0.6044 GB, free: 7.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/0.4517, allocations: 0.5997 MB / 0.605 GB, free: 6.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.4518, allocations: 146.9 kB / 0.6051 GB, free: 6.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.4521, allocations: 238.7 kB / 0.6053 GB, free: 6.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.4523, allocations: 394.6 kB / 0.6057 GB, free: 5.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.4527, allocations: 246.4 kB / 0.6059 GB, free: 5.602 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.4538, allocations: 0.9622 MB / 0.6069 GB, free: 4.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.4554, allocations: 1.319 MB / 0.6082 GB, free: 2.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.4554, allocations: 8 kB / 0.6082 GB, free: 2.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001923/0.4573, allocations: 1.203 MB / 0.6094 GB, free: 1.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.4573, allocations: 16 kB / 0.6094 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/0.4574, allocations: 28 kB / 0.6094 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.048e-05/0.4574, allocations: 32.81 kB / 0.6094 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.4582, allocations: 279.5 kB / 0.6097 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.921e-05/0.4583, allocations: 55.78 kB / 0.6098 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006145/0.4589, allocations: 48 kB / 0.6098 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.459, allocations: 76 kB / 0.6099 GB, free: 0.8594 MB / 446.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.0004661/0.4595, allocations: 334.6 kB / 0.6102 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.4596, allocations: 83.42 kB / 0.6103 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.4605, allocations: 471.2 kB / 0.6107 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.4606, allocations: 8 kB / 0.6107 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.4606, allocations: 0 / 0.6107 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.4606, allocations: 3.984 kB / 0.6107 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.4622, allocations: 0.9484 MB / 0.6117 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4622, allocations: 8.031 kB / 0.6117 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.4625, allocations: 67.91 kB / 0.6117 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.4625, allocations: 0 / 0.6117 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.4626, allocations: 19.92 kB / 0.6117 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.4626, allocations: 3.938 kB / 0.6118 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4626, allocations: 4 kB / 0.6118 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.4635, allocations: 0.6451 MB / 0.6124 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.4638, allocations: 111.4 kB / 0.6125 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.4639, allocations: 19.83 kB / 0.6125 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.4642, allocations: 24.05 kB / 0.6125 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.4642, allocations: 15.97 kB / 0.6125 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.4643, allocations: 27.97 kB / 0.6126 GB, free: 13.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006657/0.465, allocations: 499 kB / 0.6131 GB, free: 13.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.465, allocations: 7.938 kB / 0.6131 GB, free: 13.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001307/0.4663, allocations: 299.7 kB / 0.6133 GB, free: 13.19 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.0006094/0.4669, allocations: 306.6 kB / 0.6136 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.468, allocations: 0.6108 MB / 0.6142 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.468, allocations: 4 kB / 0.6142 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.4683, allocations: 144.7 kB / 0.6144 GB, free: 12.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.4697, allocations: 310.9 kB / 0.6147 GB, free: 11.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.4722, allocations: 1.508 MB / 0.6161 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.4726, allocations: 396.7 kB / 0.6165 GB, free: 9.859 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.4728, allocations: 83.41 kB / 0.6166 GB, free: 9.777 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4728, allocations: 0 / 0.6166 GB, free: 9.777 MB / 462.1 MB Notification: Performance of Templates: time 0.02741/0.5002, allocations: 13.63 MB / 0.6299 GB, free: 12.21 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.646013662219048]