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.001595/0.001595, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002286/0.002286, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2234/0.2234, allocations: 46.97 MB / 361.7 MB, free: 4.074 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.003143/0.003143, allocations: 63.89 kB / 0.4969 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3682, allocations: 66.03 MB / 0.5613 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01953/0.3877, allocations: 16.3 MB / 0.5773 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.3972, allocations: 6.482 MB / 0.5836 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009692/0.3981, allocations: 35.69 kB / 0.5836 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.3994, allocations: 361.6 kB / 0.584 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.402, allocations: 0.6996 MB / 0.5847 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004/0.406, allocations: 1.344 MB / 0.586 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.4098, allocations: 2.564 MB / 0.5885 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.4109, allocations: 0.569 MB / 0.589 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.4131, allocations: 1.071 MB / 0.5901 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.4145, allocations: 0.7979 MB / 0.5909 GB, free: 5.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.4148, allocations: 88 kB / 0.5909 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.4162, allocations: 491.2 kB / 0.5914 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.4166, allocations: 386.9 kB / 0.5918 GB, free: 4.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006693/0.4173, allocations: 442.3 kB / 0.5922 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.4198, allocations: 1.584 MB / 0.5937 GB, free: 2.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4198, allocations: 0 / 0.5937 GB, free: 2.949 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4198, allocations: 0 / 0.5937 GB, free: 2.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.4198, allocations: 0 / 0.5937 GB, free: 2.949 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.002679/0.4225, allocations: 1.237 MB / 0.595 GB, free: 1.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4225, allocations: 8.031 kB / 0.595 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.477e-05/0.4225, allocations: 26.19 kB / 0.595 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001825/0.4227, allocations: 143.2 kB / 0.5951 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/0.4232, allocations: 128.3 kB / 0.5952 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.4243, allocations: 0.5493 MB / 0.5958 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.4246, allocations: 407 kB / 0.5962 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.4248, allocations: 87.88 kB / 0.5963 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.4272, allocations: 1.699 MB / 0.5979 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.4272, allocations: 7.938 kB / 0.5979 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.4274, allocations: 36 kB / 0.598 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/0.4274, allocations: 45.23 kB / 0.598 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.4291, allocations: 0.9611 MB / 0.5989 GB, free: 13.26 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.007154/0.4362, allocations: 5.936 MB / 0.6047 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.4368, allocations: 285.2 kB / 0.605 GB, free: 6.797 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.4371, allocations: 157.4 kB / 0.6052 GB, free: 6.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001757/0.4389, allocations: 0.7976 MB / 0.6059 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.4389, allocations: 42.78 kB / 0.606 GB, free: 5.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.4389, allocations: 0 / 0.606 GB, free: 5.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002451/0.4414, allocations: 1.042 MB / 0.607 GB, free: 4.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.4414, allocations: 59.34 kB / 0.607 GB, free: 4.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.4425, allocations: 0.872 MB / 0.6079 GB, free: 3.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.4426, allocations: 37.7 kB / 0.6079 GB, free: 3.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.443, allocations: 0.5921 MB / 0.6085 GB, free: 3.102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.4432, allocations: 139 kB / 0.6086 GB, free: 2.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.4435, allocations: 242.7 kB / 0.6089 GB, free: 2.723 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.4437, allocations: 398.7 kB / 0.6093 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.4441, allocations: 246.5 kB / 0.6095 GB, free: 2.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4451, allocations: 0.9621 MB / 0.6104 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.4467, allocations: 1.32 MB / 0.6117 GB, free: 15.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.4468, allocations: 4 kB / 0.6117 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002076/0.4488, allocations: 1.215 MB / 0.6129 GB, free: 13.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.4489, allocations: 18.66 kB / 0.6129 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.4489, allocations: 28 kB / 0.613 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.741e-05/0.4489, allocations: 36 kB / 0.613 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008195/0.4498, allocations: 272.2 kB / 0.6132 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.607e-05/0.4498, allocations: 51.8 kB / 0.6133 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/0.4505, allocations: 59.98 kB / 0.6134 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.4506, allocations: 79.94 kB / 0.6134 GB, free: 13.32 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.0004875/0.4511, allocations: 341 kB / 0.6138 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.4513, allocations: 91.44 kB / 0.6138 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000936/0.4522, allocations: 483 kB / 0.6143 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.4522, allocations: 4 kB / 0.6143 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4522, allocations: 4 kB / 0.6143 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.4522, allocations: 7.922 kB / 0.6143 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.4539, allocations: 1.01 MB / 0.6153 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4539, allocations: 4.125 kB / 0.6153 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.4542, allocations: 75.89 kB / 0.6154 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.4542, allocations: 4 kB / 0.6154 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.4542, allocations: 8 kB / 0.6154 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.4542, allocations: 4 kB / 0.6154 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4543, allocations: 4 kB / 0.6154 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.4553, allocations: 0.6566 MB / 0.616 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/0.4556, allocations: 127.3 kB / 0.6162 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.4558, allocations: 8 kB / 0.6162 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.4562, allocations: 23.97 kB / 0.6162 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.4562, allocations: 20.03 kB / 0.6162 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.4563, allocations: 27.97 kB / 0.6162 GB, free: 10.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008678/0.4571, allocations: 0.593 MB / 0.6168 GB, free: 9.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4571, allocations: 4 kB / 0.6168 GB, free: 9.715 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001187/0.4583, allocations: 303.6 kB / 0.6171 GB, free: 9.418 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.002076/0.4604, allocations: 1.403 MB / 0.6185 GB, free: 7.965 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4616, allocations: 0.6186 MB / 0.6191 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.4616, allocations: 0 / 0.6191 GB, free: 7.352 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4619, allocations: 136.7 kB / 0.6192 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.464, allocations: 436.8 kB / 0.6196 GB, free: 6.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.4766, allocations: 8.017 MB / 0.6275 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.4771, allocations: 401.5 kB / 0.6278 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.4781, allocations: 319.1 kB / 0.6282 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/0.4786, allocations: 299.3 kB / 0.6284 GB, free: 12.89 MB / 478.1 MB Notification: Performance of SimCode: time 1.442e-06/0.4786, allocations: 0 / 0.6284 GB, free: 12.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05808/0.5367, allocations: 26.6 MB / 0.6544 GB, free: 2.746 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.75, allocations: 11.92 kB / 0.6544 GB, free: 2.734 MB / 494.1 MB " [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: 17.091483421972953]