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.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.00129/0.00129, allocations: 109 kB / 20.48 MB, free: 1.492 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.001419/0.001419, allocations: 218.2 kB / 23.79 MB, free: 4.707 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.371/1.371, allocations: 207.6 MB / 234.6 MB, free: 9.996 MB / 190.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.2124/0.2124, allocations: 44.25 MB / 331.1 MB, free: 9.535 MB / 270.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.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_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 74.56 kB / 468.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1098, allocations: 61.03 MB / 0.5169 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02002/0.1298, allocations: 17.91 MB / 0.5344 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2126/0.3424, allocations: 7.074 MB / 0.5413 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008851/0.3433, allocations: 31.69 kB / 0.5413 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.3443, allocations: 388.1 kB / 0.5417 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.3459, allocations: 0.6862 MB / 0.5424 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.3492, allocations: 1.365 MB / 0.5437 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003733/0.3529, allocations: 2.542 MB / 0.5462 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.3541, allocations: 0.5735 MB / 0.5468 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.3561, allocations: 1.062 MB / 0.5478 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.3576, allocations: 0.7954 MB / 0.5486 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.3578, allocations: 88 kB / 0.5486 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.3593, allocations: 0.564 MB / 0.5492 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.3598, allocations: 386 kB / 0.5496 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000663/0.3604, allocations: 0.5169 MB / 0.5501 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.3628, allocations: 1.544 MB / 0.5516 GB, free: 8.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3628, allocations: 0 / 0.5516 GB, free: 8.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3628, allocations: 1.094 kB / 0.5516 GB, free: 8.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.3628, allocations: 0 / 0.5516 GB, free: 8.863 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.002542/0.3654, allocations: 1.238 MB / 0.5528 GB, free: 8.273 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3654, allocations: 9.719 kB / 0.5528 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.906e-05/0.3655, allocations: 25.09 kB / 0.5528 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.3656, allocations: 140.5 kB / 0.553 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.3661, allocations: 127.8 kB / 0.5531 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.3671, allocations: 0.554 MB / 0.5536 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.3673, allocations: 410.5 kB / 0.554 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3675, allocations: 82.64 kB / 0.5541 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.3694, allocations: 1.305 MB / 0.5554 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.3694, allocations: 6.906 kB / 0.5554 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3695, allocations: 42.84 kB / 0.5554 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.3696, allocations: 45.55 kB / 0.5555 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.3712, allocations: 0.9679 MB / 0.5564 GB, free: 7.113 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.006116/0.3773, allocations: 7.018 MB / 0.5633 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.3779, allocations: 295.1 kB / 0.5635 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.3781, allocations: 154.8 kB / 0.5637 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/0.3798, allocations: 0.8541 MB / 0.5645 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3798, allocations: 38.72 kB / 0.5646 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.3798, allocations: 3.938 kB / 0.5646 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002136/0.3819, allocations: 1.048 MB / 0.5656 GB, free: 164 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.382, allocations: 53.91 kB / 0.5656 GB, free: 100 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.383, allocations: 0.8734 MB / 0.5665 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.3831, allocations: 33.3 kB / 0.5665 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.3835, allocations: 0.5962 MB / 0.5671 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3836, allocations: 143.6 kB / 0.5672 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.3839, allocations: 246 kB / 0.5675 GB, free: 14.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3841, allocations: 396.1 kB / 0.5678 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.3845, allocations: 242.6 kB / 0.5681 GB, free: 14.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3855, allocations: 0.9676 MB / 0.569 GB, free: 13.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.3871, allocations: 1.319 MB / 0.5703 GB, free: 12.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.3871, allocations: 7.812 kB / 0.5703 GB, free: 12.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001866/0.389, allocations: 1.213 MB / 0.5715 GB, free: 11.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.389, allocations: 16.89 kB / 0.5715 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/0.3891, allocations: 28.31 kB / 0.5715 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/0.3891, allocations: 34.09 kB / 0.5716 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.3899, allocations: 274.5 kB / 0.5718 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.357e-05/0.3899, allocations: 54.06 kB / 0.5719 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.3907, allocations: 53.47 kB / 0.5719 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.3908, allocations: 72.66 kB / 0.572 GB, free: 11.65 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.0004886/0.3913, allocations: 335.5 kB / 0.5723 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.3915, allocations: 91.44 kB / 0.5724 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.3923, allocations: 498.5 kB / 0.5729 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.3924, allocations: 3.953 kB / 0.5729 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3924, allocations: 1.219 kB / 0.5729 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3924, allocations: 2.203 kB / 0.5729 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.3941, allocations: 1.068 MB / 0.5739 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3941, allocations: 5.156 kB / 0.574 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.3944, allocations: 69.88 kB / 0.574 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3944, allocations: 3.594 kB / 0.574 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.3945, allocations: 11.62 kB / 0.574 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3945, allocations: 3.281 kB / 0.574 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3945, allocations: 4.562 kB / 0.574 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.3954, allocations: 0.663 MB / 0.5747 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.3957, allocations: 132.1 kB / 0.5748 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3959, allocations: 20.19 kB / 0.5748 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.3963, allocations: 16.7 kB / 0.5749 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.3963, allocations: 24.77 kB / 0.5749 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.3964, allocations: 28.12 kB / 0.5749 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008111/0.3972, allocations: 0.5946 MB / 0.5755 GB, free: 9.789 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3972, allocations: 0 / 0.5755 GB, free: 9.789 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001295/0.3985, allocations: 299.3 kB / 0.5758 GB, free: 9.734 MB / 430.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.002008/0.4005, allocations: 1.433 MB / 0.5772 GB, free: 8.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.4018, allocations: 0.6119 MB / 0.5778 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4018, allocations: 1.156 kB / 0.5778 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.4021, allocations: 143 kB / 0.5779 GB, free: 8.496 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.4042, allocations: 435.9 kB / 0.5783 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.4165, allocations: 8.032 MB / 0.5862 GB, free: 2.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.4171, allocations: 1.005 MB / 0.5871 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009697/0.4181, allocations: 313.7 kB / 0.5874 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.4185, allocations: 300.5 kB / 0.5877 GB, free: 1.035 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4185, allocations: 4 kB / 0.5877 GB, free: 1.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05714/0.4756, allocations: 25.81 MB / 0.6129 GB, free: 10.03 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.53, allocations: 4.062 kB / 0.6129 GB, free: 10.02 MB / 462.1 MB " [Timeout remaining time 646] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 16.727812322962563]