Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001067, allocations: 110.3 kB / 16.41 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 185.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 65.47 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02022/0.1239, allocations: 17.62 MB / 0.5046 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009188/0.1331, allocations: 7.006 MB / 0.5114 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008763/0.1341, allocations: 23.88 kB / 0.5115 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1355, allocations: 373.6 kB / 0.5118 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.1375, allocations: 0.6722 MB / 0.5125 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.1416, allocations: 1.336 MB / 0.5138 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003263/0.1449, allocations: 2.494 MB / 0.5162 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.1462, allocations: 0.6779 MB / 0.5169 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.1487, allocations: 1.047 MB / 0.5179 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.1501, allocations: 0.7473 MB / 0.5186 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.1504, allocations: 88 kB / 0.5187 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.1521, allocations: 0.5343 MB / 0.5192 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005486/0.1527, allocations: 375 kB / 0.5196 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.1538, allocations: 0.5134 MB / 0.5201 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.1566, allocations: 1.527 MB / 0.5216 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1567, allocations: 0 / 0.5216 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1567, allocations: 4 kB / 0.5216 GB, free: 9.141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.765e-05/0.1567, allocations: 0 / 0.5216 GB, free: 9.141 MB / 414.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.003156/0.1599, allocations: 1.287 MB / 0.5228 GB, free: 7.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.16, allocations: 15.83 kB / 0.5229 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003263/0.1603, allocations: 147.2 kB / 0.523 GB, free: 7.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.161, allocations: 123.7 kB / 0.5231 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.1623, allocations: 0.6146 MB / 0.5237 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.1625, allocations: 244.8 kB / 0.524 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.1627, allocations: 88.11 kB / 0.524 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.1649, allocations: 1.301 MB / 0.5253 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.1649, allocations: 7.938 kB / 0.5253 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.1651, allocations: 40 kB / 0.5254 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.622e-05/0.1651, allocations: 37.3 kB / 0.5254 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.1668, allocations: 0.9688 MB / 0.5263 GB, free: 4.008 MB / 414.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.2142/0.381, allocations: 7.071 MB / 0.5332 GB, free: 37.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/0.3816, allocations: 315.3 kB / 0.5335 GB, free: 37.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.3819, allocations: 175.7 kB / 0.5337 GB, free: 37.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002126/0.384, allocations: 2.821 MB / 0.5365 GB, free: 34.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3841, allocations: 38.27 kB / 0.5365 GB, free: 34.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.3841, allocations: 3.828 kB / 0.5365 GB, free: 34.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002324/0.3864, allocations: 1.107 MB / 0.5376 GB, free: 34.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.3865, allocations: 54.12 kB / 0.5376 GB, free: 34.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.3877, allocations: 0.8827 MB / 0.5385 GB, free: 34.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.3878, allocations: 35.92 kB / 0.5385 GB, free: 34.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.3882, allocations: 0.5647 MB / 0.5391 GB, free: 33.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.3883, allocations: 137.5 kB / 0.5392 GB, free: 33.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/0.3886, allocations: 240.5 kB / 0.5394 GB, free: 33.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3888, allocations: 394.9 kB / 0.5398 GB, free: 33.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.3892, allocations: 254.5 kB / 0.5401 GB, free: 33.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/0.3902, allocations: 0.9637 MB / 0.541 GB, free: 32.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.3913, allocations: 1.316 MB / 0.5423 GB, free: 31.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.3914, allocations: 10.41 kB / 0.5423 GB, free: 31.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001704/0.3931, allocations: 1.216 MB / 0.5435 GB, free: 31.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.3931, allocations: 15.34 kB / 0.5435 GB, free: 31.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/0.3931, allocations: 25.97 kB / 0.5435 GB, free: 31.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.165e-05/0.3932, allocations: 34.62 kB / 0.5436 GB, free: 31.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/0.394, allocations: 275 kB / 0.5438 GB, free: 31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.678e-05/0.3941, allocations: 50.53 kB / 0.5439 GB, free: 30.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.3948, allocations: 51 kB / 0.5439 GB, free: 30.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.395, allocations: 76.84 kB / 0.544 GB, free: 30.96 MB / 414.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.0004256/0.3954, allocations: 337.5 kB / 0.5443 GB, free: 30.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.3955, allocations: 95.22 kB / 0.5444 GB, free: 30.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008416/0.3964, allocations: 476.3 kB / 0.5449 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3964, allocations: 4.859 kB / 0.5449 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3964, allocations: 4 kB / 0.5449 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3964, allocations: 2.156 kB / 0.5449 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.398, allocations: 1.233 MB / 0.5461 GB, free: 29.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.398, allocations: 7.531 kB / 0.5461 GB, free: 29.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.3983, allocations: 70.44 kB / 0.5461 GB, free: 29.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.3983, allocations: 2.562 kB / 0.5461 GB, free: 29.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.3984, allocations: 14.08 kB / 0.5462 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.3984, allocations: 3.172 kB / 0.5462 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3984, allocations: 1.953 kB / 0.5462 GB, free: 29.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008994/0.3993, allocations: 0.6497 MB / 0.5468 GB, free: 29.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.3996, allocations: 198.4 kB / 0.547 GB, free: 29.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3997, allocations: 17.28 kB / 0.547 GB, free: 29.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.4, allocations: 14.31 kB / 0.547 GB, free: 29.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.4001, allocations: 26.81 kB / 0.547 GB, free: 29.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.4001, allocations: 26.86 kB / 0.5471 GB, free: 29.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008934/0.401, allocations: 0.5942 MB / 0.5477 GB, free: 28.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.313e-06/0.4011, allocations: 0 / 0.5477 GB, free: 28.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001362/0.4024, allocations: 296 kB / 0.5479 GB, free: 28.78 MB / 414.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.001765/0.4042, allocations: 1.431 MB / 0.5493 GB, free: 27.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.4053, allocations: 0.6328 MB / 0.5499 GB, free: 27.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.4054, allocations: 1.969 kB / 0.55 GB, free: 27.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.4056, allocations: 155.1 kB / 0.5501 GB, free: 27.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.4075, allocations: 421.6 kB / 0.5505 GB, free: 27.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00996/0.4174, allocations: 7.998 MB / 0.5583 GB, free: 22.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.418, allocations: 1.001 MB / 0.5593 GB, free: 21.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.419, allocations: 313.5 kB / 0.5596 GB, free: 21.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.4193, allocations: 298.4 kB / 0.5599 GB, free: 21.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4194, allocations: 0 / 0.5599 GB, free: 21.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.467, allocations: 24.97 MB / 0.5843 GB, free: 1.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.361/9.828, allocations: 12.48 kB / 0.5843 GB, free: 1.383 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches