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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_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.001111/0.001111, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001064/0.001064, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.19 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 55.34 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1051, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01856/0.1237, allocations: 17.61 MB / 487 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008182/0.1319, allocations: 6.999 MB / 494 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.1326, allocations: 19.88 kB / 494 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.1335, allocations: 381.6 kB / 494.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.1348, allocations: 0.6722 MB / 495 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.138, allocations: 1.324 MB / 496.4 MB, free: 3.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.1406, allocations: 2.51 MB / 498.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008828/0.1415, allocations: 0.6835 MB / 499.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.1431, allocations: 1.032 MB / 0.4888 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000978/0.1441, allocations: 0.7551 MB / 0.4896 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.1443, allocations: 88 kB / 0.4897 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.1456, allocations: 0.5304 MB / 0.4902 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.1459, allocations: 375.1 kB / 0.4905 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.1465, allocations: 0.5134 MB / 0.491 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.1482, allocations: 1.515 MB / 0.4925 GB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1482, allocations: 0 / 0.4925 GB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1482, allocations: 0 / 0.4925 GB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1482, allocations: 0 / 0.4925 GB, free: 11.18 MB / 382.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.002238/0.1505, allocations: 1.291 MB / 0.4938 GB, free: 9.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1505, allocations: 12.03 kB / 0.4938 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.1507, allocations: 143.2 kB / 0.4939 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.1511, allocations: 119.8 kB / 0.494 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.152, allocations: 0.5834 MB / 0.4946 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.1522, allocations: 256.7 kB / 0.4949 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.1523, allocations: 80.12 kB / 0.4949 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.1541, allocations: 1.306 MB / 0.4962 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.1541, allocations: 11.94 kB / 0.4962 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1542, allocations: 39.94 kB / 0.4963 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-05/0.1543, allocations: 41.3 kB / 0.4963 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.1557, allocations: 0.961 MB / 0.4972 GB, free: 6.082 MB / 382.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.1894/0.3452, allocations: 7.09 MB / 0.5042 GB, free: 47.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.3458, allocations: 308.4 kB / 0.5045 GB, free: 47.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.3461, allocations: 169.8 kB / 0.5046 GB, free: 47.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.3482, allocations: 2.826 MB / 0.5074 GB, free: 44.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3483, allocations: 40.17 kB / 0.5074 GB, free: 44.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.3483, allocations: 1.062 kB / 0.5074 GB, free: 44.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002241/0.3505, allocations: 1.11 MB / 0.5085 GB, free: 44.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.3506, allocations: 63.28 kB / 0.5086 GB, free: 44.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3517, allocations: 0.8686 MB / 0.5094 GB, free: 43.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3517, allocations: 37.17 kB / 0.5094 GB, free: 43.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.352, allocations: 0.5728 MB / 0.51 GB, free: 43.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.3521, allocations: 138 kB / 0.5101 GB, free: 43.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.3524, allocations: 243 kB / 0.5104 GB, free: 43.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3525, allocations: 391.5 kB / 0.5107 GB, free: 42.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.3529, allocations: 250.1 kB / 0.511 GB, free: 42.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.3536, allocations: 0.9596 MB / 0.5119 GB, free: 41.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3546, allocations: 1.325 MB / 0.5132 GB, free: 40.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.3547, allocations: 8.031 kB / 0.5132 GB, free: 40.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001784/0.3564, allocations: 1.208 MB / 0.5144 GB, free: 39.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.3565, allocations: 16.28 kB / 0.5144 GB, free: 39.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.3565, allocations: 29.97 kB / 0.5144 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.553e-05/0.3566, allocations: 34.81 kB / 0.5145 GB, free: 39.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.3573, allocations: 282.3 kB / 0.5147 GB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.52e-05/0.3574, allocations: 47.59 kB / 0.5148 GB, free: 39.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/0.3581, allocations: 57.38 kB / 0.5148 GB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.3582, allocations: 73.05 kB / 0.5149 GB, free: 39.89 MB / 382.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.0003743/0.3586, allocations: 331.2 kB / 0.5152 GB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.3587, allocations: 88.17 kB / 0.5153 GB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007766/0.3595, allocations: 489.9 kB / 0.5158 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.3595, allocations: 4.094 kB / 0.5158 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3595, allocations: 0.9375 kB / 0.5158 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3595, allocations: 2.891 kB / 0.5158 GB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.3611, allocations: 1.238 MB / 0.517 GB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3611, allocations: 4.109 kB / 0.517 GB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.3614, allocations: 63.56 kB / 0.5171 GB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.3614, allocations: 3.406 kB / 0.5171 GB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.3614, allocations: 13.42 kB / 0.5171 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3614, allocations: 3.938 kB / 0.5171 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3614, allocations: 1.188 kB / 0.5171 GB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.3623, allocations: 0.6489 MB / 0.5177 GB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.3625, allocations: 200.4 kB / 0.5179 GB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.3627, allocations: 16.95 kB / 0.5179 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.3631, allocations: 16.08 kB / 0.5179 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.3631, allocations: 26.42 kB / 0.518 GB, free: 38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.3632, allocations: 25.66 kB / 0.518 GB, free: 38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000885/0.3641, allocations: 0.5946 MB / 0.5186 GB, free: 37.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3641, allocations: 5.578 kB / 0.5186 GB, free: 37.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001165/0.3653, allocations: 299.9 kB / 0.5189 GB, free: 37.7 MB / 382.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.001511/0.3668, allocations: 1.426 MB / 0.5203 GB, free: 36.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.368, allocations: 0.665 MB / 0.5209 GB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.368, allocations: 1.094 kB / 0.5209 GB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.3682, allocations: 144.9 kB / 0.521 GB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.3701, allocations: 427.1 kB / 0.5215 GB, free: 36.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.3783, allocations: 8.445 MB / 0.5297 GB, free: 30.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.3788, allocations: 0.9983 MB / 0.5307 GB, free: 29.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001018/0.3798, allocations: 315.3 kB / 0.531 GB, free: 29.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.3801, allocations: 302.6 kB / 0.5313 GB, free: 29.41 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3801, allocations: 0 / 0.5313 GB, free: 29.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04257/0.4226, allocations: 24.39 MB / 0.5551 GB, free: 6.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.751, allocations: 10.33 kB / 0.5551 GB, free: 6.641 MB / 382.1 MB (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 --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) 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) Reference file matches