Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001333/0.001333, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001523/0.001523, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2449/0.2449, allocations: 46.96 MB / 360.9 MB, free: 4.082 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+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 71.89 kB / 0.4961 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3353, allocations: 66.03 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02154/0.3568, allocations: 16.32 MB / 0.5765 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00994/0.3668, allocations: 6.486 MB / 0.5829 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009796/0.3677, allocations: 31.69 kB / 0.5829 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.3689, allocations: 365.6 kB / 0.5832 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.3708, allocations: 0.6995 MB / 0.5839 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.3745, allocations: 1.34 MB / 0.5852 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003424/0.378, allocations: 2.543 MB / 0.5877 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.3791, allocations: 0.5729 MB / 0.5883 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.3815, allocations: 1.071 MB / 0.5893 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.3831, allocations: 0.7823 MB / 0.5901 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.3835, allocations: 88 kB / 0.5902 GB, free: 5.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.385, allocations: 483.2 kB / 0.5906 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004861/0.3854, allocations: 382.9 kB / 0.591 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006903/0.3861, allocations: 446.2 kB / 0.5914 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.3887, allocations: 1.584 MB / 0.593 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3887, allocations: 0 / 0.593 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3887, allocations: 8 kB / 0.593 GB, free: 2.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.3887, allocations: 0 / 0.593 GB, free: 2.984 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.002633/0.3914, allocations: 1.225 MB / 0.5942 GB, free: 1.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3914, allocations: 12.03 kB / 0.5942 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001862/0.3916, allocations: 139.2 kB / 0.5943 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/0.3921, allocations: 124.3 kB / 0.5944 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.3933, allocations: 0.5532 MB / 0.595 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/0.3937, allocations: 411 kB / 0.5954 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.3938, allocations: 84.08 kB / 0.5955 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.3961, allocations: 1.703 MB / 0.5971 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/0.3962, allocations: 3.938 kB / 0.5971 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.3963, allocations: 43.91 kB / 0.5972 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.3963, allocations: 41.3 kB / 0.5972 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.398, allocations: 0.961 MB / 0.5981 GB, free: 13.33 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.00739/0.4054, allocations: 5.94 MB / 0.6039 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.406, allocations: 292.6 kB / 0.6042 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.4063, allocations: 157.4 kB / 0.6044 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/0.4081, allocations: 0.7899 MB / 0.6051 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.4082, allocations: 38.8 kB / 0.6052 GB, free: 5.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.4082, allocations: 4 kB / 0.6052 GB, free: 5.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002445/0.4106, allocations: 1.034 MB / 0.6062 GB, free: 4.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4107, allocations: 63.41 kB / 0.6063 GB, free: 4.695 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.4119, allocations: 0.9146 MB / 0.6071 GB, free: 3.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.4119, allocations: 33.7 kB / 0.6072 GB, free: 3.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.4124, allocations: 0.5883 MB / 0.6078 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.4125, allocations: 142.9 kB / 0.6079 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.4128, allocations: 242.7 kB / 0.6081 GB, free: 2.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.413, allocations: 398.7 kB / 0.6085 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.4135, allocations: 246.5 kB / 0.6087 GB, free: 2.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.4145, allocations: 0.9621 MB / 0.6097 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.4162, allocations: 1.316 MB / 0.611 GB, free: 15.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.4162, allocations: 12 kB / 0.611 GB, free: 15.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002159/0.4184, allocations: 1.215 MB / 0.6122 GB, free: 13.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.4184, allocations: 16.94 kB / 0.6122 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.291e-05/0.4184, allocations: 24 kB / 0.6122 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-05/0.4185, allocations: 36 kB / 0.6122 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.4194, allocations: 283.4 kB / 0.6125 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.316e-05/0.4194, allocations: 51.73 kB / 0.6125 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/0.4202, allocations: 52 kB / 0.6126 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.4203, allocations: 75.98 kB / 0.6127 GB, free: 13.35 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.0005246/0.4208, allocations: 325.6 kB / 0.613 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.421, allocations: 95.42 kB / 0.6131 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.4221, allocations: 487.9 kB / 0.6135 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.4221, allocations: 4 kB / 0.6135 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4221, allocations: 0 / 0.6135 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4221, allocations: 3.984 kB / 0.6135 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.424, allocations: 1.01 MB / 0.6145 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.424, allocations: 7.938 kB / 0.6145 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.4243, allocations: 63.91 kB / 0.6146 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.4243, allocations: 4 kB / 0.6146 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.4243, allocations: 15.92 kB / 0.6146 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.4243, allocations: 0 / 0.6146 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4243, allocations: 4 kB / 0.6146 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.4254, allocations: 0.6606 MB / 0.6153 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.4259, allocations: 127.5 kB / 0.6154 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.426, allocations: 12 kB / 0.6154 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.4264, allocations: 19.98 kB / 0.6154 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.4264, allocations: 31.89 kB / 0.6155 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.4265, allocations: 27.97 kB / 0.6155 GB, free: 10.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008657/0.4274, allocations: 0.593 MB / 0.6161 GB, free: 9.746 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4274, allocations: 0 / 0.6161 GB, free: 9.746 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001215/0.4286, allocations: 303.6 kB / 0.6163 GB, free: 9.449 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.002055/0.4306, allocations: 1.406 MB / 0.6177 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.4319, allocations: 0.6178 MB / 0.6183 GB, free: 7.383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.4319, allocations: 4 kB / 0.6183 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.4321, allocations: 132.8 kB / 0.6185 GB, free: 7.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.4342, allocations: 424.8 kB / 0.6189 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.4462, allocations: 8.017 MB / 0.6267 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.4466, allocations: 409.5 kB / 0.6271 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001/0.4476, allocations: 311.7 kB / 0.6274 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.4481, allocations: 299.3 kB / 0.6277 GB, free: 12.93 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4481, allocations: 7.938 kB / 0.6277 GB, free: 12.92 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.067/0.5151, allocations: 26.62 MB / 0.6537 GB, free: 2.766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.31, allocations: 3.984 kB / 0.6537 GB, free: 2.762 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 15.507471512071788]