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.001333/0.001333, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001474/0.001474, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.781 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.2174/0.2174, allocations: 44.94 MB / 359.6 MB, free: 6.051 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) [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.001959/0.001959, allocations: 63.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3113, allocations: 65.47 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02042/0.3317, allocations: 16.3 MB / 0.5736 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009887/0.3416, allocations: 6.494 MB / 0.58 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.3426, allocations: 27.75 kB / 0.58 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.3439, allocations: 369.6 kB / 0.5804 GB, free: 280 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.3457, allocations: 0.6995 MB / 0.581 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.3495, allocations: 1.34 MB / 0.5824 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003511/0.353, allocations: 2.56 MB / 0.5849 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.3541, allocations: 0.569 MB / 0.5854 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.3563, allocations: 1.075 MB / 0.5865 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.3577, allocations: 0.798 MB / 0.5872 GB, free: 9.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.358, allocations: 84 kB / 0.5873 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.3593, allocations: 491.2 kB / 0.5878 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.3597, allocations: 386.9 kB / 0.5882 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006472/0.3604, allocations: 442.3 kB / 0.5886 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.363, allocations: 1.581 MB / 0.5901 GB, free: 6.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.363, allocations: 4 kB / 0.5901 GB, free: 6.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.363, allocations: 4 kB / 0.5901 GB, free: 6.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.541e-05/0.363, allocations: 0 / 0.5901 GB, free: 6.246 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.003014/0.366, allocations: 1.233 MB / 0.5913 GB, free: 4.977 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3661, allocations: 12.03 kB / 0.5913 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.68e-05/0.3661, allocations: 26.19 kB / 0.5914 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.3663, allocations: 135.3 kB / 0.5915 GB, free: 4.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005352/0.3668, allocations: 128.3 kB / 0.5916 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.368, allocations: 0.5493 MB / 0.5922 GB, free: 4.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/0.3683, allocations: 410.9 kB / 0.5925 GB, free: 3.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.3684, allocations: 87.88 kB / 0.5926 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.3709, allocations: 1.695 MB / 0.5943 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.371, allocations: 7.938 kB / 0.5943 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.3711, allocations: 43.92 kB / 0.5943 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/0.3712, allocations: 45.3 kB / 0.5944 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.373, allocations: 0.9688 MB / 0.5953 GB, free: 0.5508 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.007665/0.3806, allocations: 5.933 MB / 0.6011 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.3812, allocations: 289.2 kB / 0.6014 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.3815, allocations: 156.2 kB / 0.6015 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.3833, allocations: 0.7897 MB / 0.6023 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.3833, allocations: 47 kB / 0.6024 GB, free: 9.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.913e-06/0.3833, allocations: 0 / 0.6024 GB, free: 9.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002541/0.3859, allocations: 1.042 MB / 0.6034 GB, free: 7.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.3859, allocations: 55.41 kB / 0.6034 GB, free: 7.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.3871, allocations: 0.8759 MB / 0.6043 GB, free: 7.039 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.3872, allocations: 29.7 kB / 0.6043 GB, free: 7.004 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/0.3877, allocations: 0.5921 MB / 0.6049 GB, free: 6.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.3878, allocations: 143 kB / 0.605 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.3881, allocations: 242.7 kB / 0.6053 GB, free: 6.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.3884, allocations: 394.7 kB / 0.6056 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/0.3888, allocations: 250.5 kB / 0.6059 GB, free: 5.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.3899, allocations: 0.9621 MB / 0.6068 GB, free: 4.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.3916, allocations: 1.319 MB / 0.6081 GB, free: 2.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.3916, allocations: 8 kB / 0.6081 GB, free: 2.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002125/0.3937, allocations: 1.211 MB / 0.6093 GB, free: 1.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.3938, allocations: 17 kB / 0.6093 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.3938, allocations: 28 kB / 0.6093 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.431e-05/0.3938, allocations: 36 kB / 0.6094 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/0.3947, allocations: 279.5 kB / 0.6096 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.196e-05/0.3947, allocations: 51.8 kB / 0.6097 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.3954, allocations: 51.98 kB / 0.6097 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3955, allocations: 83.92 kB / 0.6098 GB, free: 0.6211 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.0004848/0.396, allocations: 338 kB / 0.6101 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.3962, allocations: 91.44 kB / 0.6102 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009746/0.3972, allocations: 484.1 kB / 0.6107 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3972, allocations: 4 kB / 0.6107 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3972, allocations: 0 / 0.6107 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3972, allocations: 3.984 kB / 0.6107 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.399, allocations: 1.014 MB / 0.6117 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.399, allocations: 4 kB / 0.6117 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.3993, allocations: 75.83 kB / 0.6118 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.3993, allocations: 4 kB / 0.6118 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.3994, allocations: 8 kB / 0.6118 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.3994, allocations: 4 kB / 0.6118 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3994, allocations: 0 / 0.6118 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4004, allocations: 0.6683 MB / 0.6124 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.4007, allocations: 127.6 kB / 0.6125 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.4008, allocations: 8 kB / 0.6126 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.4012, allocations: 15.98 kB / 0.6126 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.4012, allocations: 19.97 kB / 0.6126 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.851e-05/0.4013, allocations: 27.97 kB / 0.6126 GB, free: 13.62 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000819/0.4021, allocations: 0.593 MB / 0.6132 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4021, allocations: 0 / 0.6132 GB, free: 13.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00118/0.4033, allocations: 307.6 kB / 0.6135 GB, free: 12.71 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.001745/0.4051, allocations: 1.4 MB / 0.6149 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.4062, allocations: 0.6137 MB / 0.6155 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.4062, allocations: 4 kB / 0.6155 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.4064, allocations: 146.2 kB / 0.6156 GB, free: 10.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.4083, allocations: 424.2 kB / 0.616 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.4192, allocations: 8.023 MB / 0.6238 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.4196, allocations: 405.5 kB / 0.6242 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009438/0.4206, allocations: 312.3 kB / 0.6245 GB, free: 484 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.421, allocations: 295.3 kB / 0.6248 GB, free: 188 kB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.421, allocations: 0 / 0.6248 GB, free: 188 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05862/0.4796, allocations: 26.61 MB / 0.6508 GB, free: 6.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.78, allocations: 6.484 kB / 0.6508 GB, free: 6.035 MB / 494.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] 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: 17.055532034952193]