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.001805/0.001805, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002071/0.002071, allocations: 217.2 kB / 22.99 MB, free: 4.977 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.396/1.396, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2375/0.2375, allocations: 44.26 MB / 330.3 MB, free: 9.305 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="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.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.002249/0.002249, allocations: 74.7 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1099, allocations: 61.04 MB / 0.5161 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01902/0.1289, allocations: 16.19 MB / 0.532 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009138/0.138, allocations: 6.498 MB / 0.5383 GB, free: 408 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/0.1388, allocations: 31.69 kB / 0.5383 GB, free: 376 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.1398, allocations: 369.6 kB / 0.5387 GB, free: 4 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2115/0.3513, allocations: 0.6808 MB / 0.5394 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.3544, allocations: 1.347 MB / 0.5407 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002853/0.3573, allocations: 2.524 MB / 0.5431 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009386/0.3582, allocations: 0.5755 MB / 0.5437 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.3602, allocations: 1.065 MB / 0.5447 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.3614, allocations: 0.7764 MB / 0.5455 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.3616, allocations: 89.78 kB / 0.5456 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.3627, allocations: 475.8 kB / 0.546 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.3631, allocations: 385.6 kB / 0.5464 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.3636, allocations: 444.1 kB / 0.5468 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.3656, allocations: 1.53 MB / 0.5483 GB, free: 9.734 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3656, allocations: 1.062 kB / 0.5483 GB, free: 9.734 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3656, allocations: 0 / 0.5483 GB, free: 9.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.3656, allocations: 0 / 0.5483 GB, free: 9.734 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.002316/0.3679, allocations: 1.241 MB / 0.5495 GB, free: 9.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3679, allocations: 9.438 kB / 0.5495 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.3681, allocations: 141.2 kB / 0.5497 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.3686, allocations: 124.1 kB / 0.5498 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3697, allocations: 0.555 MB / 0.5503 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.3699, allocations: 411.2 kB / 0.5507 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.37, allocations: 77.8 kB / 0.5508 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.372, allocations: 1.771 MB / 0.5525 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.372, allocations: 6.25 kB / 0.5525 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3721, allocations: 38.22 kB / 0.5526 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.3722, allocations: 40.39 kB / 0.5526 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.3737, allocations: 0.9601 MB / 0.5536 GB, free: 7.504 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.005991/0.3797, allocations: 5.942 MB / 0.5594 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.3803, allocations: 299.1 kB / 0.5596 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.3806, allocations: 162.1 kB / 0.5598 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/0.3824, allocations: 0.7916 MB / 0.5606 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.3824, allocations: 39.45 kB / 0.5606 GB, free: 2.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.3824, allocations: 1.406 kB / 0.5606 GB, free: 2.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.002298/0.3847, allocations: 1.041 MB / 0.5616 GB, free: 1.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3848, allocations: 56.55 kB / 0.5617 GB, free: 1.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.3861, allocations: 0.922 MB / 0.5626 GB, free: 1.508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.3862, allocations: 34.08 kB / 0.5626 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.3865, allocations: 0.5931 MB / 0.5632 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3866, allocations: 142.3 kB / 0.5633 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.3869, allocations: 242 kB / 0.5636 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.387, allocations: 403.1 kB / 0.5639 GB, free: 420 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.3874, allocations: 242.7 kB / 0.5642 GB, free: 352 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009/0.3883, allocations: 0.9695 MB / 0.5651 GB, free: 15.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.3899, allocations: 1.324 MB / 0.5664 GB, free: 14.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.39, allocations: 7.25 kB / 0.5664 GB, free: 14.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002074/0.392, allocations: 1.215 MB / 0.5676 GB, free: 13.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.3921, allocations: 16.31 kB / 0.5676 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/0.3921, allocations: 25.38 kB / 0.5676 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.442e-05/0.3921, allocations: 34.38 kB / 0.5677 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.3929, allocations: 275.5 kB / 0.5679 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.024e-05/0.393, allocations: 51.91 kB / 0.568 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/0.3937, allocations: 55.77 kB / 0.568 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.3938, allocations: 72.09 kB / 0.5681 GB, free: 13.64 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.0004758/0.3943, allocations: 342.4 kB / 0.5684 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3944, allocations: 91.88 kB / 0.5685 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/0.3953, allocations: 487.6 kB / 0.569 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.3953, allocations: 4.125 kB / 0.569 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3953, allocations: 0 / 0.569 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3954, allocations: 7.094 kB / 0.569 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3971, allocations: 1.003 MB / 0.57 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3971, allocations: 3.469 kB / 0.57 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.3974, allocations: 73.64 kB / 0.5701 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3974, allocations: 3.812 kB / 0.5701 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.3974, allocations: 13.03 kB / 0.5701 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.3974, allocations: 7.531 kB / 0.5701 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3974, allocations: 2.906 kB / 0.5701 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.3984, allocations: 0.6492 MB / 0.5707 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.3987, allocations: 132.5 kB / 0.5708 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.3988, allocations: 15.55 kB / 0.5709 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.3992, allocations: 13.84 kB / 0.5709 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.3993, allocations: 32.73 kB / 0.5709 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.908e-05/0.3993, allocations: 28.91 kB / 0.5709 GB, free: 12.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007873/0.4001, allocations: 0.5936 MB / 0.5715 GB, free: 11.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4001, allocations: 0 / 0.5715 GB, free: 11.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001212/0.4013, allocations: 299 kB / 0.5718 GB, free: 11.75 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.001935/0.4032, allocations: 1.445 MB / 0.5732 GB, free: 10.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.4044, allocations: 0.6125 MB / 0.5738 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4044, allocations: 1.219 kB / 0.5738 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.4046, allocations: 138.2 kB / 0.5739 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.4065, allocations: 424 kB / 0.5743 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.4174, allocations: 8.032 MB / 0.5822 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.4179, allocations: 399 kB / 0.5826 GB, free: 4.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.419, allocations: 326.7 kB / 0.5829 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.4194, allocations: 292.6 kB / 0.5832 GB, free: 4.535 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4194, allocations: 0 / 0.5832 GB, free: 4.535 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09179/0.5112, allocations: 26.74 MB / 0.6093 GB, free: 13.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.56, allocations: 15.94 kB / 0.6093 GB, free: 13.38 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.569377204868942]