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.001284/0.001284, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001417/0.001417, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2245/0.2245, allocations: 46.93 MB / 361.6 MB, free: 4.273 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.91 kB / 0.4969 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 66.04 MB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02467/0.3417, allocations: 18.03 MB / 0.579 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.3546, allocations: 7.093 MB / 0.5859 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.3557, allocations: 39.69 kB / 0.586 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3571, allocations: 385.6 kB / 0.5864 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.3592, allocations: 0.6878 MB / 0.587 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.3632, allocations: 1.352 MB / 0.5883 GB, free: 8.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004082/0.3673, allocations: 2.56 MB / 0.5908 GB, free: 6.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.3685, allocations: 0.5612 MB / 0.5914 GB, free: 5.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.3711, allocations: 1.071 MB / 0.5924 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.3727, allocations: 0.8019 MB / 0.5932 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.373, allocations: 88 kB / 0.5933 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.3746, allocations: 0.6201 MB / 0.5939 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005296/0.3751, allocations: 386.9 kB / 0.5943 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008344/0.3759, allocations: 0.5095 MB / 0.5948 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.3792, allocations: 1.62 MB / 0.5964 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3792, allocations: 0 / 0.5964 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3792, allocations: 0 / 0.5964 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.548e-05/0.3793, allocations: 0 / 0.5964 GB, free: 0.5391 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.003378/0.3826, allocations: 1.241 MB / 0.5976 GB, free: 15.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.3827, allocations: 8.031 kB / 0.5976 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.491e-05/0.3827, allocations: 22.19 kB / 0.5976 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.3829, allocations: 139.2 kB / 0.5977 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005557/0.3835, allocations: 124.3 kB / 0.5979 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.3847, allocations: 0.5416 MB / 0.5984 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003423/0.385, allocations: 410.9 kB / 0.5988 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.3852, allocations: 95.81 kB / 0.5989 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.3874, allocations: 1.297 MB / 0.6001 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.3875, allocations: 3.938 kB / 0.6001 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3876, allocations: 39.98 kB / 0.6002 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.3877, allocations: 37.31 kB / 0.6002 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.3895, allocations: 0.9688 MB / 0.6012 GB, free: 11.36 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.008655/0.3982, allocations: 7.002 MB / 0.608 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.3988, allocations: 304.6 kB / 0.6083 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.399, allocations: 153.6 kB / 0.6084 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.4008, allocations: 0.8481 MB / 0.6093 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4009, allocations: 38.8 kB / 0.6093 GB, free: 2.523 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.482e-06/0.4009, allocations: 0 / 0.6093 GB, free: 2.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002452/0.4033, allocations: 1.05 MB / 0.6103 GB, free: 1.441 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.4034, allocations: 55.41 kB / 0.6104 GB, free: 1.375 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.4045, allocations: 0.872 MB / 0.6112 GB, free: 500 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.4045, allocations: 33.7 kB / 0.6113 GB, free: 460 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/0.4051, allocations: 0.5923 MB / 0.6118 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4052, allocations: 135 kB / 0.612 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.4055, allocations: 250.7 kB / 0.6122 GB, free: 15.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.4057, allocations: 398.5 kB / 0.6126 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.4061, allocations: 246.4 kB / 0.6128 GB, free: 14.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.4072, allocations: 0.97 MB / 0.6138 GB, free: 13.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.4088, allocations: 1.316 MB / 0.615 GB, free: 11.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.4088, allocations: 8 kB / 0.6151 GB, free: 11.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002258/0.4111, allocations: 1.223 MB / 0.6163 GB, free: 10.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.4111, allocations: 16 kB / 0.6163 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.4111, allocations: 28 kB / 0.6163 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-05/0.4112, allocations: 32 kB / 0.6163 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008409/0.412, allocations: 279.4 kB / 0.6166 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.224e-05/0.4121, allocations: 47.86 kB / 0.6166 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.4129, allocations: 55.92 kB / 0.6167 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.413, allocations: 72.34 kB / 0.6168 GB, free: 10.06 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.0005661/0.4136, allocations: 349 kB / 0.6171 GB, free: 9.711 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.4138, allocations: 87.44 kB / 0.6172 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009862/0.4147, allocations: 490.8 kB / 0.6176 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.4148, allocations: 4 kB / 0.6176 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4148, allocations: 0 / 0.6176 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.4148, allocations: 7.922 kB / 0.6177 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.4166, allocations: 1.069 MB / 0.6187 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.4166, allocations: 4 kB / 0.6187 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.4169, allocations: 67.91 kB / 0.6188 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.417, allocations: 4 kB / 0.6188 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.417, allocations: 11.98 kB / 0.6188 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.417, allocations: 4 kB / 0.6188 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.417, allocations: 0 / 0.6188 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4181, allocations: 0.6568 MB / 0.6194 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.4184, allocations: 127.3 kB / 0.6195 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.4185, allocations: 8 kB / 0.6196 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.4189, allocations: 20.06 kB / 0.6196 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.419, allocations: 19.95 kB / 0.6196 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.419, allocations: 23.98 kB / 0.6196 GB, free: 7.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008351/0.4199, allocations: 0.5969 MB / 0.6202 GB, free: 6.402 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4199, allocations: 3.938 kB / 0.6202 GB, free: 6.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001315/0.4212, allocations: 311.5 kB / 0.6205 GB, free: 6.094 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.001885/0.4231, allocations: 1.388 MB / 0.6219 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.4243, allocations: 0.6216 MB / 0.6225 GB, free: 4.039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.4243, allocations: 4 kB / 0.6225 GB, free: 4.035 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.4246, allocations: 134.3 kB / 0.6226 GB, free: 3.906 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.4268, allocations: 433.3 kB / 0.623 GB, free: 3.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.4389, allocations: 8.025 MB / 0.6308 GB, free: 10.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.4396, allocations: 1.001 MB / 0.6318 GB, free: 9.555 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009754/0.4406, allocations: 312.1 kB / 0.6321 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/0.441, allocations: 299.3 kB / 0.6324 GB, free: 8.961 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/0.441, allocations: 4 kB / 0.6324 GB, free: 8.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05971/0.5007, allocations: 25.71 MB / 0.6575 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.64, allocations: 11.91 kB / 0.6575 GB, free: 15.52 MB / 0.4981 GB " [Timeout remaining time 646] (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: 16.89650655305013]