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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 113.5 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 191.7 kB / 20.08 MB, free: 2.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 207.6 MB / 230.5 MB, free: 4 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3202/0.3202, allocations: 44.23 MB / 326.5 MB, free: 6.809 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002173/0.002173, allocations: 79.88 kB / 462.2 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2605, allocations: 60.99 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01508/0.2756, allocations: 17.75 MB / 0.5282 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.2861, allocations: 7.044 MB / 0.5351 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000993/0.2871, allocations: 19.88 kB / 0.5351 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.2883, allocations: 385.5 kB / 0.5355 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.2901, allocations: 0.6879 MB / 0.5362 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.2937, allocations: 1.327 MB / 0.5375 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003114/0.2968, allocations: 2.498 MB / 0.5399 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.2977, allocations: 0.6115 MB / 0.5405 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.2995, allocations: 1.043 MB / 0.5415 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.3006, allocations: 0.7902 MB / 0.5423 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.3008, allocations: 91.94 kB / 0.5424 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.302, allocations: 0.5578 MB / 0.5429 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003866/0.3024, allocations: 382.8 kB / 0.5433 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.303, allocations: 0.5134 MB / 0.5438 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.305, allocations: 1.548 MB / 0.5453 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.305, allocations: 0 / 0.5453 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.305, allocations: 0 / 0.5453 GB, free: 11.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.305, allocations: 0 / 0.5453 GB, free: 11.65 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.002461/0.3075, allocations: 1.309 MB / 0.5466 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3075, allocations: 15.89 kB / 0.5466 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.3077, allocations: 139.2 kB / 0.5467 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.3082, allocations: 124.3 kB / 0.5468 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.3093, allocations: 0.6304 MB / 0.5475 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.3095, allocations: 244.8 kB / 0.5477 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.3097, allocations: 88.12 kB / 0.5478 GB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.3117, allocations: 1.301 MB / 0.549 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.3117, allocations: 7.938 kB / 0.5491 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.3118, allocations: 40 kB / 0.5491 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/0.3118, allocations: 41.3 kB / 0.5491 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.3135, allocations: 0.961 MB / 0.5501 GB, free: 6.492 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.007632/0.3211, allocations: 7.087 MB / 0.557 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005757/0.3217, allocations: 300 kB / 0.5573 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.322, allocations: 165.4 kB / 0.5574 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003026/0.325, allocations: 2.822 MB / 0.5602 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.325, allocations: 38.8 kB / 0.5602 GB, free: 11.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.764e-06/0.325, allocations: 3.938 kB / 0.5602 GB, free: 11.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.00238/0.3274, allocations: 1.118 MB / 0.5613 GB, free: 9.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.3275, allocations: 55.41 kB / 0.5614 GB, free: 9.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3287, allocations: 0.8798 MB / 0.5622 GB, free: 8.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.3287, allocations: 33.7 kB / 0.5623 GB, free: 8.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.3292, allocations: 0.5844 MB / 0.5628 GB, free: 8.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.3293, allocations: 147.1 kB / 0.563 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.3296, allocations: 242.7 kB / 0.5632 GB, free: 7.953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.3298, allocations: 406.6 kB / 0.5636 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.3303, allocations: 242.5 kB / 0.5638 GB, free: 7.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.3313, allocations: 0.966 MB / 0.5648 GB, free: 5.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.3329, allocations: 1.315 MB / 0.5661 GB, free: 4.309 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.3329, allocations: 8 kB / 0.5661 GB, free: 4.301 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001954/0.3349, allocations: 1.216 MB / 0.5672 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.3349, allocations: 16 kB / 0.5673 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.3349, allocations: 31.94 kB / 0.5673 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.754e-05/0.335, allocations: 32 kB / 0.5673 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/0.3358, allocations: 283.5 kB / 0.5676 GB, free: 2.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.991e-05/0.3359, allocations: 55.78 kB / 0.5676 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.3365, allocations: 44.44 kB / 0.5677 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.3366, allocations: 80 kB / 0.5678 GB, free: 2.547 MB / 430.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.0004404/0.337, allocations: 337 kB / 0.5681 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.3372, allocations: 91.44 kB / 0.5682 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008978/0.3381, allocations: 479.4 kB / 0.5686 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3381, allocations: 4 kB / 0.5686 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.3381, allocations: 7.984 kB / 0.5686 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3381, allocations: 0 / 0.5686 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.3399, allocations: 1.244 MB / 0.5699 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3399, allocations: 7.938 kB / 0.5699 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.3402, allocations: 63.91 kB / 0.5699 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3402, allocations: 4 kB / 0.5699 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3402, allocations: 11.98 kB / 0.5699 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3402, allocations: 4 kB / 0.5699 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3402, allocations: 3.938 kB / 0.57 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009641/0.3412, allocations: 0.6458 MB / 0.5706 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.3415, allocations: 208.4 kB / 0.5708 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/0.3416, allocations: 11.94 kB / 0.5708 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.342, allocations: 16.06 kB / 0.5708 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.342, allocations: 27.91 kB / 0.5708 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.3421, allocations: 27.97 kB / 0.5709 GB, free: 15.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007732/0.3428, allocations: 0.593 MB / 0.5714 GB, free: 14.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3428, allocations: 0 / 0.5714 GB, free: 14.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001074/0.3439, allocations: 295.7 kB / 0.5717 GB, free: 14.29 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.001893/0.3458, allocations: 1.429 MB / 0.5731 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3469, allocations: 0.619 MB / 0.5737 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3469, allocations: 4.125 kB / 0.5737 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.3471, allocations: 131.8 kB / 0.5739 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.3489, allocations: 418.4 kB / 0.5743 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.3601, allocations: 8.037 MB / 0.5821 GB, free: 2.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/0.3608, allocations: 1.001 MB / 0.5831 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009522/0.3618, allocations: 320.3 kB / 0.5834 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003773/0.3622, allocations: 299.3 kB / 0.5837 GB, free: 1.121 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3622, allocations: 0 / 0.5837 GB, free: 1.121 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/0.4198, allocations: 24.84 MB / 0.6079 GB, free: 8.23 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.811/10.23, allocations: 15.91 kB / 0.6079 GB, free: 8.215 MB / 478.1 MB " [Timeout remaining time 650] (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 --stepSize=0.0019992 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.134326322935522]