Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001533/0.001533, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.00183/0.00183, allocations: 210.3 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 207.6 MB / 231.2 MB, free: 4.125 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.322/0.322, allocations: 44.23 MB / 327.3 MB, free: 6.727 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00218/0.00218, allocations: 63.91 kB / 462.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2798, allocations: 60.99 MB / 0.5116 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01503/0.2949, allocations: 17.75 MB / 0.529 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3052, allocations: 7.038 MB / 0.5358 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.3063, allocations: 31.75 kB / 0.5359 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.3075, allocations: 385.5 kB / 0.5362 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.3095, allocations: 0.6878 MB / 0.5369 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.3134, allocations: 1.317 MB / 0.5382 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.317, allocations: 2.51 MB / 0.5406 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.3182, allocations: 0.6076 MB / 0.5412 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.3208, allocations: 1.055 MB / 0.5423 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.3224, allocations: 0.798 MB / 0.543 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.3227, allocations: 88 kB / 0.5431 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.3242, allocations: 0.5577 MB / 0.5437 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.3247, allocations: 386.8 kB / 0.544 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006882/0.3254, allocations: 0.5056 MB / 0.5445 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.3279, allocations: 1.544 MB / 0.546 GB, free: 11.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3279, allocations: 3.984 kB / 0.546 GB, free: 11.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3279, allocations: 0 / 0.546 GB, free: 11.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.097e-05/0.328, allocations: 0 / 0.546 GB, free: 11.61 MB / 414.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.002728/0.3307, allocations: 1.305 MB / 0.5473 GB, free: 10.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3307, allocations: 19.83 kB / 0.5473 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.319e-05/0.3308, allocations: 22.19 kB / 0.5474 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.331, allocations: 143.2 kB / 0.5475 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005141/0.3315, allocations: 124.3 kB / 0.5476 GB, free: 9.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3327, allocations: 0.6226 MB / 0.5482 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.3329, allocations: 252.8 kB / 0.5485 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.333, allocations: 79.94 kB / 0.5485 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.3352, allocations: 1.309 MB / 0.5498 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.3352, allocations: 7.938 kB / 0.5498 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.3353, allocations: 36 kB / 0.5499 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/0.3354, allocations: 41.3 kB / 0.5499 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.3371, allocations: 0.9688 MB / 0.5508 GB, free: 6.422 MB / 414.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.00789/0.345, allocations: 7.091 MB / 0.5578 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.3455, allocations: 292.1 kB / 0.558 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.3458, allocations: 161.3 kB / 0.5582 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.3488, allocations: 2.827 MB / 0.561 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.3489, allocations: 42.73 kB / 0.561 GB, free: 11.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.023e-06/0.3489, allocations: 0 / 0.561 GB, free: 11.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002439/0.3513, allocations: 1.122 MB / 0.5621 GB, free: 9.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3514, allocations: 59.41 kB / 0.5622 GB, free: 9.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3525, allocations: 0.8759 MB / 0.563 GB, free: 8.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/0.3525, allocations: 33.7 kB / 0.563 GB, free: 8.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/0.353, allocations: 0.5882 MB / 0.5636 GB, free: 8.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3531, allocations: 146.9 kB / 0.5638 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.3534, allocations: 238.7 kB / 0.564 GB, free: 7.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.3536, allocations: 402.7 kB / 0.5644 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.354, allocations: 242.5 kB / 0.5646 GB, free: 7.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.355, allocations: 0.97 MB / 0.5655 GB, free: 5.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.3566, allocations: 1.311 MB / 0.5668 GB, free: 4.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-05/0.3566, allocations: 12 kB / 0.5668 GB, free: 4.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001862/0.3585, allocations: 1.211 MB / 0.568 GB, free: 3.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.3585, allocations: 16.97 kB / 0.568 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.3585, allocations: 31.98 kB / 0.5681 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.174e-05/0.3586, allocations: 36 kB / 0.5681 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008004/0.3594, allocations: 279.4 kB / 0.5684 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.475e-05/0.3594, allocations: 51.8 kB / 0.5684 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006185/0.36, allocations: 48 kB / 0.5685 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-05/0.3601, allocations: 79.92 kB / 0.5685 GB, free: 2.477 MB / 430.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.0004132/0.3605, allocations: 321.1 kB / 0.5688 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.3607, allocations: 95.42 kB / 0.5689 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000901/0.3616, allocations: 491.4 kB / 0.5694 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.3616, allocations: 4 kB / 0.5694 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3616, allocations: 0 / 0.5694 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3616, allocations: 3.984 kB / 0.5694 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.3633, allocations: 1.244 MB / 0.5706 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.3633, allocations: 4 kB / 0.5706 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3636, allocations: 71.89 kB / 0.5707 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3636, allocations: 4 kB / 0.5707 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.3637, allocations: 12.19 kB / 0.5707 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.3637, allocations: 8 kB / 0.5707 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3637, allocations: 0 / 0.5707 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.3646, allocations: 0.6534 MB / 0.5714 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.3649, allocations: 200.4 kB / 0.5716 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.365, allocations: 11.94 kB / 0.5716 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.3654, allocations: 23.98 kB / 0.5716 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.3654, allocations: 27.89 kB / 0.5716 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/0.3655, allocations: 27.92 kB / 0.5716 GB, free: 15.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007563/0.3662, allocations: 0.6009 MB / 0.5722 GB, free: 14.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3662, allocations: 0 / 0.5722 GB, free: 14.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001062/0.3673, allocations: 299.7 kB / 0.5725 GB, free: 14.2 MB / 446.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.001814/0.3691, allocations: 1.411 MB / 0.5739 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.3701, allocations: 0.6176 MB / 0.5745 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3702, allocations: 0 / 0.5745 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.3704, allocations: 133.4 kB / 0.5746 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.3723, allocations: 436.4 kB / 0.575 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.3828, allocations: 8.029 MB / 0.5829 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.3835, allocations: 1.005 MB / 0.5839 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009542/0.3845, allocations: 308.2 kB / 0.5842 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.3849, allocations: 311.3 kB / 0.5845 GB, free: 1.035 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3849, allocations: 0 / 0.5845 GB, free: 1.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05369/0.4386, allocations: 24.88 MB / 0.6087 GB, free: 8.117 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.46, allocations: 11.95 kB / 0.6088 GB, free: 8.105 MB / 478.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.612411230977159]