Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001379/0.001384, allocations: 171.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.208/1.208, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007042/0.0007043, allocations: 81.42 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2853/0.2853, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 12 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09094, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1702/0.2612, allocations: 16.67 MB / 0.4957 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006559/0.2678, allocations: 6.657 MB / 0.5022 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.2684, allocations: 23.41 kB / 0.5022 GB, free: 34.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007214/0.2692, allocations: 307.6 kB / 0.5025 GB, free: 34.27 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001177/0.2703, allocations: 0.6928 MB / 0.5032 GB, free: 33.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.273, allocations: 1.111 MB / 0.5043 GB, free: 33.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.2752, allocations: 2.987 MB / 0.5072 GB, free: 32.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006343/0.2758, allocations: 0.5846 MB / 0.5078 GB, free: 32.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.277, allocations: 0.9023 MB / 0.5086 GB, free: 31.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/0.2777, allocations: 0.7534 MB / 0.5094 GB, free: 31.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.2778, allocations: 46.41 kB / 0.5094 GB, free: 31.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2788, allocations: 0.5143 MB / 0.5099 GB, free: 31.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.2791, allocations: 330 kB / 0.5102 GB, free: 31.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00043/0.2795, allocations: 493.8 kB / 0.5107 GB, free: 30.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008794/0.2804, allocations: 1.118 MB / 0.5118 GB, free: 30.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2804, allocations: 4 kB / 0.5118 GB, free: 30.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2804, allocations: 4 kB / 0.5118 GB, free: 30.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.2805, allocations: 0 / 0.5118 GB, free: 30.71 MB / 378.7 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.001605/0.2821, allocations: 1.099 MB / 0.5129 GB, free: 29.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2821, allocations: 9.531 kB / 0.5129 GB, free: 29.99 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.2823, allocations: 142.9 kB / 0.513 GB, free: 29.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.2826, allocations: 120.9 kB / 0.5131 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.2833, allocations: 0.5856 MB / 0.5137 GB, free: 29.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2834, allocations: 251.2 kB / 0.5139 GB, free: 29.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.2835, allocations: 74.28 kB / 0.514 GB, free: 29.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.2849, allocations: 1.304 MB / 0.5153 GB, free: 28.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.2849, allocations: 11.06 kB / 0.5153 GB, free: 28.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.285, allocations: 40.97 kB / 0.5153 GB, free: 28.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.2851, allocations: 43.73 kB / 0.5154 GB, free: 28.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.2862, allocations: 0.9555 MB / 0.5163 GB, free: 28.11 MB / 378.7 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.004401/0.2907, allocations: 7.099 MB / 0.5232 GB, free: 22.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.2911, allocations: 305.6 kB / 0.5235 GB, free: 22.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.2913, allocations: 177.8 kB / 0.5237 GB, free: 21.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/0.2929, allocations: 2.822 MB / 0.5265 GB, free: 19.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.2929, allocations: 38.2 kB / 0.5265 GB, free: 18.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.2929, allocations: 0 / 0.5265 GB, free: 18.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001762/0.2947, allocations: 1.116 MB / 0.5276 GB, free: 18.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.2947, allocations: 54.59 kB / 0.5276 GB, free: 18.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007186/0.2955, allocations: 0.8593 MB / 0.5285 GB, free: 17.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.2955, allocations: 32.98 kB / 0.5285 GB, free: 17.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.2958, allocations: 0.5713 MB / 0.5291 GB, free: 17.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.2958, allocations: 142.1 kB / 0.5292 GB, free: 17.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.2959, allocations: 23.12 kB / 0.5292 GB, free: 17.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.296, allocations: 401.9 kB / 0.5296 GB, free: 16.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.2963, allocations: 240.5 kB / 0.5298 GB, free: 16.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.2968, allocations: 0.9578 MB / 0.5308 GB, free: 15.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.2977, allocations: 1.316 MB / 0.5321 GB, free: 14.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.2977, allocations: 6.438 kB / 0.5321 GB, free: 14.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001366/0.2991, allocations: 1.209 MB / 0.5332 GB, free: 14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2991, allocations: 15.31 kB / 0.5333 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.2992, allocations: 23.84 kB / 0.5333 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.2992, allocations: 35.78 kB / 0.5333 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.2999, allocations: 277.4 kB / 0.5336 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.967e-05/0.2999, allocations: 52.52 kB / 0.5336 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/0.3005, allocations: 69.02 kB / 0.5337 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/0.3006, allocations: 72.12 kB / 0.5338 GB, free: 13.92 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003103/0.3009, allocations: 333.3 kB / 0.5341 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-05/0.301, allocations: 89.41 kB / 0.5342 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.3017, allocations: 480.9 kB / 0.5346 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3017, allocations: 5.938 kB / 0.5346 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3017, allocations: 0 / 0.5346 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3017, allocations: 3.469 kB / 0.5346 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.3032, allocations: 1.237 MB / 0.5358 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3032, allocations: 7.016 kB / 0.5359 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.3034, allocations: 72.89 kB / 0.5359 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3035, allocations: 14.81 kB / 0.5359 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3035, allocations: 13.97 kB / 0.536 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3035, allocations: 3.156 kB / 0.536 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3035, allocations: 0 / 0.536 GB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.3042, allocations: 0.643 MB / 0.5366 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.3044, allocations: 214.7 kB / 0.5368 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.3045, allocations: 7.219 kB / 0.5368 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.3049, allocations: 27.45 kB / 0.5368 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.305, allocations: 26.75 kB / 0.5368 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.305, allocations: 26.59 kB / 0.5369 GB, free: 12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005443/0.3056, allocations: 0.5811 MB / 0.5374 GB, free: 11.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3056, allocations: 0 / 0.5374 GB, free: 11.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009764/0.3066, allocations: 300.1 kB / 0.5377 GB, free: 11.7 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.3078, allocations: 1.41 MB / 0.5391 GB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.3086, allocations: 0.6314 MB / 0.5397 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3086, allocations: 0.9375 kB / 0.5397 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.3088, allocations: 145.7 kB / 0.5399 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.3106, allocations: 385.5 kB / 0.5402 GB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/0.3164, allocations: 5.31 MB / 0.5454 GB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.3169, allocations: 1.002 MB / 0.5464 GB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.3173, allocations: 309 kB / 0.5467 GB, free: 5.988 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3173, allocations: 9.281 kB / 0.5467 GB, free: 5.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.897/4.215, allocations: 15.65 MB / 0.562 GB, free: 15.53 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches