Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001442/0.001442, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.9 MB / 357.4 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003043/0.003043, allocations: 76.88 kB / 0.4912 GB, free: 27.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.134, allocations: 65.97 MB / 0.5557 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02192/0.1559, allocations: 17.87 MB / 0.5731 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.1663, allocations: 7.05 MB / 0.58 GB, free: 232 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009162/0.1672, allocations: 19.88 kB / 0.58 GB, free: 212 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.1684, allocations: 385.5 kB / 0.5804 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1704, allocations: 0.6956 MB / 0.5811 GB, free: 15.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.1742, allocations: 1.338 MB / 0.5824 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003532/0.1777, allocations: 2.509 MB / 0.5848 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.1788, allocations: 0.6116 MB / 0.5854 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.1811, allocations: 1.047 MB / 0.5865 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.1825, allocations: 0.7979 MB / 0.5872 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.1826, allocations: 88 kB / 0.5873 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.184, allocations: 0.6006 MB / 0.5879 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004115/0.1845, allocations: 386.8 kB / 0.5883 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.1851, allocations: 0.5056 MB / 0.5888 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.1876, allocations: 1.623 MB / 0.5904 GB, free: 5.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1876, allocations: 4 kB / 0.5904 GB, free: 5.598 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1876, allocations: 0 / 0.5904 GB, free: 5.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.1876, allocations: 0 / 0.5904 GB, free: 5.598 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.002618/0.1902, allocations: 1.319 MB / 0.5916 GB, free: 4.227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1902, allocations: 8.031 kB / 0.5917 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.1904, allocations: 139.2 kB / 0.5918 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000488/0.1909, allocations: 132.3 kB / 0.5919 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.1922, allocations: 0.6072 MB / 0.5925 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.1924, allocations: 252.8 kB / 0.5927 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1925, allocations: 88.06 kB / 0.5928 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.1945, allocations: 1.297 MB / 0.5941 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.1946, allocations: 7.938 kB / 0.5941 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.1947, allocations: 47.98 kB / 0.5941 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.113e-05/0.1947, allocations: 45.23 kB / 0.5942 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.1964, allocations: 0.9572 MB / 0.5951 GB, free: 452 kB / 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.007849/0.2042, allocations: 7.098 MB / 0.6021 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.2048, allocations: 296.2 kB / 0.6023 GB, free: 8.578 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.2051, allocations: 157.4 kB / 0.6025 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002944/0.208, allocations: 2.823 MB / 0.6052 GB, free: 5.094 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.2081, allocations: 38.8 kB / 0.6053 GB, free: 5.047 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.2081, allocations: 4 kB / 0.6053 GB, free: 5.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=34): time 0.00238/0.2105, allocations: 1.122 MB / 0.6064 GB, free: 3.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2105, allocations: 55.41 kB / 0.6064 GB, free: 3.805 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2116, allocations: 0.8759 MB / 0.6073 GB, free: 2.918 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.2117, allocations: 37.7 kB / 0.6073 GB, free: 2.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/0.2121, allocations: 0.5844 MB / 0.6079 GB, free: 2.281 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.2123, allocations: 142.9 kB / 0.608 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000311/0.2126, allocations: 238.7 kB / 0.6083 GB, free: 1.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.2128, allocations: 406.7 kB / 0.6086 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.2132, allocations: 246.5 kB / 0.6089 GB, free: 1.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2636/0.4768, allocations: 0.9559 MB / 0.6098 GB, free: 51.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.4785, allocations: 1.314 MB / 0.6111 GB, free: 50.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/0.4785, allocations: 6.688 kB / 0.6111 GB, free: 50.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002034/0.4806, allocations: 1.212 MB / 0.6123 GB, free: 50.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.4806, allocations: 16.61 kB / 0.6123 GB, free: 50.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/0.4806, allocations: 28.62 kB / 0.6123 GB, free: 50.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.596e-05/0.4807, allocations: 34.69 kB / 0.6124 GB, free: 50.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.4816, allocations: 281.6 kB / 0.6126 GB, free: 50.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.325e-05/0.4816, allocations: 51.36 kB / 0.6127 GB, free: 50.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007467/0.4824, allocations: 48.56 kB / 0.6127 GB, free: 50.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.4825, allocations: 74.34 kB / 0.6128 GB, free: 50.46 MB / 462.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.0004605/0.4829, allocations: 336.1 kB / 0.6131 GB, free: 50.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.4831, allocations: 95.12 kB / 0.6132 GB, free: 50.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009227/0.484, allocations: 478.9 kB / 0.6137 GB, free: 50.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.484, allocations: 3.938 kB / 0.6137 GB, free: 50.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.484, allocations: 1.328 kB / 0.6137 GB, free: 50.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4841, allocations: 3.734 kB / 0.6137 GB, free: 50.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.4858, allocations: 1.256 MB / 0.6149 GB, free: 49.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4859, allocations: 5.828 kB / 0.6149 GB, free: 49.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.4861, allocations: 70.06 kB / 0.615 GB, free: 49.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4861, allocations: 2.562 kB / 0.615 GB, free: 49.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.4862, allocations: 10.41 kB / 0.615 GB, free: 49.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.4862, allocations: 2.953 kB / 0.615 GB, free: 49.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4862, allocations: 3.344 kB / 0.615 GB, free: 49.44 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.4871, allocations: 0.6527 MB / 0.6156 GB, free: 49.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.4874, allocations: 209.3 kB / 0.6158 GB, free: 48.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.4875, allocations: 15.12 kB / 0.6158 GB, free: 48.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.4879, allocations: 13.22 kB / 0.6159 GB, free: 48.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.4879, allocations: 26.52 kB / 0.6159 GB, free: 48.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.488, allocations: 26.08 kB / 0.6159 GB, free: 48.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008248/0.4888, allocations: 0.5939 MB / 0.6165 GB, free: 48.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4888, allocations: 0.875 kB / 0.6165 GB, free: 48.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001248/0.49, allocations: 308.6 kB / 0.6168 GB, free: 48.64 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.001683/0.4917, allocations: 1.409 MB / 0.6182 GB, free: 47.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.4928, allocations: 0.6156 MB / 0.6188 GB, free: 47.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4928, allocations: 1.094 kB / 0.6188 GB, free: 47.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.493, allocations: 135.7 kB / 0.6189 GB, free: 47.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.4948, allocations: 432 kB / 0.6193 GB, free: 47.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009423/0.5042, allocations: 8.033 MB / 0.6272 GB, free: 41.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.5048, allocations: 0.9937 MB / 0.6281 GB, free: 41.22 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001059/0.5058, allocations: 320.7 kB / 0.6284 GB, free: 41.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.5061, allocations: 299.8 kB / 0.6287 GB, free: 40.97 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5061, allocations: 0 / 0.6287 GB, free: 40.97 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/0.5547, allocations: 24.93 MB / 0.6531 GB, free: 24.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.925/10.48, allocations: 0 / 0.6531 GB, free: 24.38 MB / 462.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 13.899118083063513]