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.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.001304/0.001304, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001534/0.001534, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.91 MB / 359.6 MB, free: 6.301 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00345/0.00345, allocations: 59.91 kB / 0.4938 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3233, allocations: 65.47 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02206/0.3454, allocations: 18.04 MB / 0.5754 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009999/0.3554, allocations: 7.085 MB / 0.5823 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008722/0.3563, allocations: 27.75 kB / 0.5823 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.3575, allocations: 393.5 kB / 0.5827 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.3591, allocations: 0.6918 MB / 0.5834 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003887/0.363, allocations: 1.36 MB / 0.5847 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003984/0.367, allocations: 2.555 MB / 0.5872 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.3682, allocations: 0.5728 MB / 0.5878 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.3708, allocations: 1.059 MB / 0.5888 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.3723, allocations: 0.8019 MB / 0.5896 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.3725, allocations: 88 kB / 0.5897 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.374, allocations: 0.6279 MB / 0.5903 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.3744, allocations: 378.9 kB / 0.5907 GB, free: 6.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006945/0.3751, allocations: 0.5134 MB / 0.5912 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.3777, allocations: 1.616 MB / 0.5927 GB, free: 3.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3778, allocations: 0 / 0.5927 GB, free: 3.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3778, allocations: 0 / 0.5927 GB, free: 3.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.3778, allocations: 8 kB / 0.5927 GB, free: 3.875 MB / 430.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.002629/0.3804, allocations: 1.229 MB / 0.5939 GB, free: 2.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3804, allocations: 8.031 kB / 0.594 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.366e-05/0.3805, allocations: 22.19 kB / 0.594 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.3807, allocations: 147.2 kB / 0.5941 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004972/0.3812, allocations: 128.3 kB / 0.5942 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.3822, allocations: 0.5493 MB / 0.5948 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.3826, allocations: 407 kB / 0.5952 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3827, allocations: 83.89 kB / 0.5952 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.3848, allocations: 1.293 MB / 0.5965 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.3848, allocations: 7.938 kB / 0.5965 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.3849, allocations: 40 kB / 0.5965 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/0.385, allocations: 41.3 kB / 0.5966 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.3867, allocations: 0.9649 MB / 0.5975 GB, free: 14.7 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.007628/0.3943, allocations: 7.006 MB / 0.6044 GB, free: 7.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.3949, allocations: 296.8 kB / 0.6047 GB, free: 6.938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.3951, allocations: 161.4 kB / 0.6048 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/0.397, allocations: 0.852 MB / 0.6056 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3971, allocations: 38.8 kB / 0.6057 GB, free: 5.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.294e-06/0.3971, allocations: 0 / 0.6057 GB, free: 5.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002514/0.3996, allocations: 1.038 MB / 0.6067 GB, free: 4.789 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.3996, allocations: 55.41 kB / 0.6067 GB, free: 4.723 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.4008, allocations: 0.8759 MB / 0.6076 GB, free: 3.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.4009, allocations: 41.7 kB / 0.6076 GB, free: 3.785 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004907/0.4014, allocations: 0.5921 MB / 0.6082 GB, free: 3.188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.4015, allocations: 127 kB / 0.6083 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.4018, allocations: 250.6 kB / 0.6086 GB, free: 2.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.402, allocations: 398.7 kB / 0.609 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.4025, allocations: 242.5 kB / 0.6092 GB, free: 2.176 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.4035, allocations: 0.97 MB / 0.6101 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.4052, allocations: 1.316 MB / 0.6114 GB, free: 15.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/0.4052, allocations: 12 kB / 0.6114 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002178/0.4074, allocations: 1.211 MB / 0.6126 GB, free: 13.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.4074, allocations: 16 kB / 0.6126 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.952e-05/0.4074, allocations: 24.91 kB / 0.6127 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-05/0.4075, allocations: 39.98 kB / 0.6127 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008684/0.4084, allocations: 283.5 kB / 0.613 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.625e-05/0.4084, allocations: 51.78 kB / 0.613 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.4092, allocations: 52 kB / 0.6131 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.4093, allocations: 79.94 kB / 0.6131 GB, free: 13.4 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.0005394/0.4099, allocations: 334.1 kB / 0.6135 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.4101, allocations: 91.44 kB / 0.6135 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.4111, allocations: 492.1 kB / 0.614 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.4111, allocations: 4 kB / 0.614 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4111, allocations: 0 / 0.614 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.4111, allocations: 0 / 0.614 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.413, allocations: 1.072 MB / 0.6151 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.413, allocations: 0 / 0.6151 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.4133, allocations: 67.89 kB / 0.6151 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.4134, allocations: 4 kB / 0.6151 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.4134, allocations: 12 kB / 0.6151 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4134, allocations: 8.188 kB / 0.6152 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4134, allocations: 4 kB / 0.6152 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.4145, allocations: 0.6527 MB / 0.6158 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.4148, allocations: 127.4 kB / 0.6159 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.415, allocations: 8 kB / 0.6159 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.4154, allocations: 19.92 kB / 0.6159 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4154, allocations: 23.95 kB / 0.616 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.4155, allocations: 31.91 kB / 0.616 GB, free: 10.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008532/0.4163, allocations: 0.5969 MB / 0.6166 GB, free: 9.742 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4163, allocations: 4.062 kB / 0.6166 GB, free: 9.738 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001238/0.4176, allocations: 307.6 kB / 0.6169 GB, free: 9.438 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.001813/0.4194, allocations: 1.391 MB / 0.6182 GB, free: 8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.4205, allocations: 0.6219 MB / 0.6188 GB, free: 7.383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4205, allocations: 0.9375 kB / 0.6188 GB, free: 7.383 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.4208, allocations: 141 kB / 0.619 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.4229, allocations: 420.5 kB / 0.6194 GB, free: 6.848 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.4343, allocations: 8.035 MB / 0.6272 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.4351, allocations: 1.001 MB / 0.6282 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009554/0.436, allocations: 318.9 kB / 0.6285 GB, free: 12.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.4364, allocations: 299.3 kB / 0.6288 GB, free: 12.3 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4364, allocations: 0 / 0.6288 GB, free: 12.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06143/0.4979, allocations: 25.7 MB / 0.6539 GB, free: 2.879 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.49, allocations: 0 / 0.6539 GB, free: 2.879 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.78536882897606]