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.001686/0.001686, allocations: 118.3 kB / 18.5 MB, free: 4.562 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.001941/0.001941, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.464/1.464, allocations: 230.6 MB / 254.8 MB, free: 15.12 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.2321/0.2321, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.002002/0.002002, allocations: 63.91 kB / 0.4916 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1305, allocations: 66 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02271/0.1532, allocations: 17.87 MB / 0.5735 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1636, allocations: 7.034 MB / 0.5804 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.1646, allocations: 31.69 kB / 0.5804 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.1658, allocations: 393.5 kB / 0.5808 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.1676, allocations: 0.6839 MB / 0.5814 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003669/0.1713, allocations: 1.319 MB / 0.5827 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.1748, allocations: 2.509 MB / 0.5852 GB, free: 7.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.1759, allocations: 0.5998 MB / 0.5858 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.1781, allocations: 1.055 MB / 0.5868 GB, free: 6.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.1796, allocations: 0.8018 MB / 0.5876 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.1798, allocations: 88 kB / 0.5877 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.1815, allocations: 0.5967 MB / 0.5883 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004983/0.182, allocations: 382.9 kB / 0.5886 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007809/0.1827, allocations: 0.5095 MB / 0.5891 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.1857, allocations: 1.612 MB / 0.5907 GB, free: 2.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.1857, allocations: 4 kB / 0.5907 GB, free: 2.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1857, allocations: 0 / 0.5907 GB, free: 2.254 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.846e-05/0.1857, allocations: 4 kB / 0.5907 GB, free: 2.25 MB / 446.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.0029/0.1886, allocations: 1.309 MB / 0.592 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1887, allocations: 8.031 kB / 0.592 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.304e-05/0.1887, allocations: 22.19 kB / 0.592 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.1889, allocations: 147.2 kB / 0.5921 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005039/0.1894, allocations: 128.3 kB / 0.5923 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.233/0.4224, allocations: 0.608 MB / 0.5929 GB, free: 37.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.4227, allocations: 253.6 kB / 0.5931 GB, free: 36.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/0.4231, allocations: 81.42 kB / 0.5932 GB, free: 36.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.4255, allocations: 1.295 MB / 0.5944 GB, free: 36.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.4255, allocations: 11.62 kB / 0.5945 GB, free: 36.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.4256, allocations: 41.09 kB / 0.5945 GB, free: 36.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.891e-05/0.4257, allocations: 40.09 kB / 0.5945 GB, free: 36.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.4274, allocations: 0.9635 MB / 0.5955 GB, free: 36.49 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.00606/0.4335, allocations: 7.067 MB / 0.6024 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.4341, allocations: 304.1 kB / 0.6027 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.4344, allocations: 158.4 kB / 0.6028 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002208/0.4366, allocations: 2.817 MB / 0.6056 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.4366, allocations: 39.59 kB / 0.6056 GB, free: 27.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.205e-06/0.4366, allocations: 0 / 0.6056 GB, free: 27.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002415/0.439, allocations: 1.124 MB / 0.6067 GB, free: 27.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.4391, allocations: 61.25 kB / 0.6068 GB, free: 27.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.4403, allocations: 0.8744 MB / 0.6076 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.4403, allocations: 36.61 kB / 0.6077 GB, free: 26.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.4406, allocations: 0.5914 MB / 0.6082 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.882e-05/0.4407, allocations: 141.8 kB / 0.6084 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.441, allocations: 237.2 kB / 0.6086 GB, free: 26.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4412, allocations: 398.1 kB / 0.609 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.4417, allocations: 250.1 kB / 0.6092 GB, free: 25.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009396/0.4426, allocations: 0.9616 MB / 0.6101 GB, free: 24.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.4441, allocations: 1.317 MB / 0.6114 GB, free: 23.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/0.4441, allocations: 7.562 kB / 0.6114 GB, free: 23.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001905/0.446, allocations: 1.221 MB / 0.6126 GB, free: 22.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.446, allocations: 18.27 kB / 0.6126 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/0.4461, allocations: 30.06 kB / 0.6127 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.417e-05/0.4461, allocations: 34.78 kB / 0.6127 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008789/0.447, allocations: 282.1 kB / 0.613 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.92e-05/0.4471, allocations: 47.77 kB / 0.613 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007557/0.4478, allocations: 57.56 kB / 0.6131 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.448, allocations: 73.44 kB / 0.6132 GB, free: 22.77 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.0004828/0.4485, allocations: 335.4 kB / 0.6135 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.4486, allocations: 94.67 kB / 0.6136 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009322/0.4496, allocations: 489.5 kB / 0.614 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.4496, allocations: 3.641 kB / 0.614 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4496, allocations: 0.75 kB / 0.614 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4496, allocations: 1.219 kB / 0.614 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.4513, allocations: 1.236 MB / 0.6152 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4513, allocations: 1.344 kB / 0.6152 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.4516, allocations: 67.34 kB / 0.6153 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.4516, allocations: 3.156 kB / 0.6153 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.4516, allocations: 9.125 kB / 0.6153 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4516, allocations: 4.906 kB / 0.6153 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4516, allocations: 1.25 kB / 0.6153 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.4526, allocations: 0.6591 MB / 0.616 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.4528, allocations: 207.3 kB / 0.6162 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4529, allocations: 9.312 kB / 0.6162 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.4533, allocations: 13.11 kB / 0.6162 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.4534, allocations: 31.09 kB / 0.6162 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.4534, allocations: 25 kB / 0.6162 GB, free: 20.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007363/0.4542, allocations: 0.5938 MB / 0.6168 GB, free: 20.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4542, allocations: 5.688 kB / 0.6168 GB, free: 20.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001142/0.4553, allocations: 299.9 kB / 0.6171 GB, free: 20.57 MB / 446.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.001429/0.4567, allocations: 1.395 MB / 0.6185 GB, free: 19.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.4578, allocations: 0.6223 MB / 0.6191 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4578, allocations: 5.25 kB / 0.6191 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.4581, allocations: 131.3 kB / 0.6192 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.4599, allocations: 429.4 kB / 0.6196 GB, free: 19.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009196/0.4691, allocations: 8.037 MB / 0.6275 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.4696, allocations: 1.001 MB / 0.6284 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009184/0.4705, allocations: 313.7 kB / 0.6287 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.4708, allocations: 297.3 kB / 0.629 GB, free: 12.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4708, allocations: 5.094 kB / 0.629 GB, free: 12.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.517, allocations: 24.78 MB / 0.6532 GB, free: 6.785 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.66, allocations: 15.08 kB / 0.6532 GB, free: 6.773 MB / 462.1 MB " [Timeout remaining time 649] (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: 14.059269980993122]