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.001785/0.001785, allocations: 115.9 kB / 17.08 MB, free: 5.977 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.001981/0.00198, allocations: 192.7 kB / 20.02 MB, free: 3.051 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: 205.1 MB / 227.9 MB, free: 4.395 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.3223/0.3223, allocations: 43.51 MB / 320.8 MB, free: 9.016 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.002236/0.002237, allocations: 63.89 kB / 450 MB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3106, allocations: 57.78 MB / 0.4959 GB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01391/0.3245, allocations: 17.62 MB / 0.5131 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008164/0.3327, allocations: 7.008 MB / 0.5199 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3338, allocations: 21.56 kB / 0.52 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.335, allocations: 380.3 kB / 0.5203 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.337, allocations: 0.6648 MB / 0.521 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004074/0.3411, allocations: 1.321 MB / 0.5223 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.3452, allocations: 2.506 MB / 0.5247 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.3467, allocations: 0.6699 MB / 0.5254 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.3495, allocations: 1.03 MB / 0.5264 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.3513, allocations: 0.7512 MB / 0.5271 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.3515, allocations: 92 kB / 0.5272 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.3531, allocations: 0.5382 MB / 0.5277 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.3536, allocations: 371 kB / 0.5281 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006796/0.3542, allocations: 0.5134 MB / 0.5286 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.357, allocations: 1.536 MB / 0.5301 GB, free: 7.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.357, allocations: 0 / 0.5301 GB, free: 7.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.357, allocations: 0 / 0.5301 GB, free: 7.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.357, allocations: 4 kB / 0.5301 GB, free: 7.141 MB / 398.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.002798/0.3598, allocations: 1.316 MB / 0.5314 GB, free: 5.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3599, allocations: 15.89 kB / 0.5314 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/0.3601, allocations: 143.2 kB / 0.5315 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.3606, allocations: 128.3 kB / 0.5316 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.3618, allocations: 0.6188 MB / 0.5322 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.362, allocations: 252.8 kB / 0.5325 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3622, allocations: 84.11 kB / 0.5326 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.3642, allocations: 1.301 MB / 0.5338 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.3642, allocations: 11.92 kB / 0.5338 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.3643, allocations: 43.98 kB / 0.5339 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.3644, allocations: 37.3 kB / 0.5339 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.3661, allocations: 0.9727 MB / 0.5349 GB, free: 1.961 MB / 398.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.007823/0.3739, allocations: 7.083 MB / 0.5418 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.3745, allocations: 312.2 kB / 0.5421 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/0.3748, allocations: 177.3 kB / 0.5423 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002999/0.3778, allocations: 2.823 MB / 0.545 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.3779, allocations: 38.8 kB / 0.5451 GB, free: 6.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.3779, allocations: 0 / 0.5451 GB, free: 6.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002499/0.3804, allocations: 1.129 MB / 0.5462 GB, free: 5.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.3805, allocations: 51.41 kB / 0.5462 GB, free: 5.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3816, allocations: 0.8798 MB / 0.5471 GB, free: 4.418 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.3816, allocations: 29.7 kB / 0.5471 GB, free: 4.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.3821, allocations: 0.5922 MB / 0.5477 GB, free: 3.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.3822, allocations: 146.9 kB / 0.5478 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.3825, allocations: 238.7 kB / 0.548 GB, free: 3.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.3828, allocations: 398.7 kB / 0.5484 GB, free: 3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.3832, allocations: 242.5 kB / 0.5487 GB, free: 2.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009858/0.3842, allocations: 0.966 MB / 0.5496 GB, free: 1.438 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.3858, allocations: 1.315 MB / 0.5509 GB, free: 15.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.3859, allocations: 8 kB / 0.5509 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002101/0.388, allocations: 1.215 MB / 0.5521 GB, free: 14.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.388, allocations: 16 kB / 0.5521 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.3881, allocations: 24 kB / 0.5521 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.285e-05/0.3881, allocations: 36 kB / 0.5521 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/0.389, allocations: 280.1 kB / 0.5524 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-05/0.389, allocations: 55.84 kB / 0.5525 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.3897, allocations: 48 kB / 0.5525 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.3899, allocations: 72 kB / 0.5526 GB, free: 14.01 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.0004899/0.3904, allocations: 333 kB / 0.5529 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.3905, allocations: 95.44 kB / 0.553 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009105/0.3914, allocations: 487.4 kB / 0.5535 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3915, allocations: 7.984 kB / 0.5535 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3915, allocations: 0 / 0.5535 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3915, allocations: 3.938 kB / 0.5535 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.3932, allocations: 1.244 MB / 0.5547 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.3933, allocations: 3.938 kB / 0.5547 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.3936, allocations: 71.91 kB / 0.5548 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3936, allocations: 0 / 0.5548 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.3936, allocations: 15.98 kB / 0.5548 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.3936, allocations: 7.938 kB / 0.5548 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3937, allocations: 4.188 kB / 0.5548 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.3947, allocations: 0.6459 MB / 0.5554 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.3949, allocations: 204.5 kB / 0.5556 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.395, allocations: 8 kB / 0.5556 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.3954, allocations: 20 kB / 0.5556 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.3955, allocations: 19.97 kB / 0.5557 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.3955, allocations: 23.97 kB / 0.5557 GB, free: 10.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007601/0.3963, allocations: 0.6009 MB / 0.5563 GB, free: 10.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3963, allocations: 0 / 0.5563 GB, free: 10.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001116/0.3974, allocations: 303.6 kB / 0.5565 GB, free: 9.742 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.001894/0.3993, allocations: 1.429 MB / 0.5579 GB, free: 8.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.4005, allocations: 0.6419 MB / 0.5586 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4005, allocations: 0 / 0.5586 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.4008, allocations: 147.8 kB / 0.5587 GB, free: 7.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.4026, allocations: 429.7 kB / 0.5591 GB, free: 7.074 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.4135, allocations: 8.025 MB / 0.567 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.4142, allocations: 1.001 MB / 0.5679 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009598/0.4152, allocations: 320.5 kB / 0.5682 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.4156, allocations: 291.3 kB / 0.5685 GB, free: 12.54 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4156, allocations: 0 / 0.5685 GB, free: 12.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/0.473, allocations: 24.7 MB / 0.5926 GB, free: 3.797 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.815/10.29, allocations: 11.98 kB / 0.5927 GB, free: 3.785 MB / 462.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.190158141078427]